Several changes
This commit is contained in:
parent
9b6c13b13c
commit
8af7e2373a
|
@ -3,6 +3,7 @@ add_header X-I2P-Location http://vernzluj2od67vbf5drxxrhzekslgxnym7zc3mxgx7tfqnd
|
|||
|
||||
# Path to the root of your installation
|
||||
root /var/www/nextcloud;
|
||||
error_log /var/log/nginx/nextcloud.err;
|
||||
|
||||
# Prevent nginx HTTP Server Detection
|
||||
server_tokens off;
|
||||
|
|
|
@ -99,7 +99,15 @@ location /.*/errors/.* {
|
|||
internal;
|
||||
}
|
||||
|
||||
location ~ ^(/media/|/canaries/|/finreport/|/en/finreport/)$ {
|
||||
location ~ ^(/media/|/canaries/|/en/finreport/)$ {
|
||||
fancyindex on;
|
||||
fancyindex_exact_size off;
|
||||
fancyindex_default_sort date_desc;
|
||||
fancyindex_time_format "%a, %e %B %Y %I:%M:%S %p";
|
||||
}
|
||||
|
||||
location /finreport {
|
||||
alias /var/www/website/en/finreport;
|
||||
fancyindex on;
|
||||
fancyindex_exact_size off;
|
||||
fancyindex_default_sort date_desc;
|
||||
|
|
|
@ -2,7 +2,7 @@ add_header Onion-Location http://wl.vernccvbvyi5qhfzyqengccj7lkove6bjot2xhh5kajh
|
|||
add_header X-I2P-Location http://vernesciy2defjsputrjrv6pa5ll6qzrckfffi5lgkumstdojyga.b32.i2p$request_uri;
|
||||
|
||||
location / {
|
||||
proxy_pass http://127.0.0.1:6629/;
|
||||
proxy_pass http://10.0.3.57:6629/;
|
||||
proxy_http_version 1.1;
|
||||
proxy_redirect off;
|
||||
proxy_set_header Host $host;
|
||||
|
|
|
@ -121,15 +121,6 @@ server {
|
|||
return 301 https://$host$request_uri;
|
||||
server_name www.vern.cc vern.cc;
|
||||
}
|
||||
server {
|
||||
listen 80;
|
||||
listen [::]:80;
|
||||
listen 443 ssl http2;
|
||||
listen [::]:443 ssl http2;
|
||||
include snippets/lets-encrypt.conf;
|
||||
server_name stupid.vern.cc;
|
||||
return 301 https://aryak.vern.cc$request_uri;
|
||||
}
|
||||
server {
|
||||
listen 80;
|
||||
listen [::]:80;
|
||||
|
|
Loading…
Reference in New Issue