23 lines
567 B
Plaintext
23 lines
567 B
Plaintext
|
add_header Onion-Location http://cinny.vernccvbvyi5qhfzyqengccj7lkove6bjot2xhh5kajhwvidqafczrad.onion$request_uri;
|
||
|
root /var/www/cinny;
|
||
|
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;
|