24 lines
683 B
Plaintext
24 lines
683 B
Plaintext
add_header Onion-Location http://cinny.vernccvbvyi5qhfzyqengccj7lkove6bjot2xhh5kajhwvidqafczrad.onion$request_uri;
|
|
add_header X-I2P-Location http://vernyaourawd4avjf7ye6g43pqovys5wqdr672kervjpev353klq.b32.i2p$request_uri;
|
|
root /var/www/cinny-git/dist;
|
|
index index.html;
|
|
ssi on;
|
|
location / {
|
|
try_files $uri $uri/ =404;
|
|
}
|
|
|
|
location = /index.html {
|
|
add_header Cache-Control "no-cache";
|
|
}
|
|
location = /version {
|
|
add_header Cache-Control "no-cache";
|
|
}
|
|
# covers config.json and config.hostname.json requests as it is prefix.
|
|
location /config {
|
|
add_header Cache-Control "no-cache";
|
|
}
|
|
|
|
# redirect server error pages to the static page /50x.html
|
|
#
|
|
error_page 500 502 503 504 /50x.html;
|