generated from nhcarrigan/template
fix: remove dotfile restriction from notes.nhcarrigan.com
This commit is contained in:
@@ -72,21 +72,6 @@ server {
|
|||||||
proxy_read_timeout 1d;
|
proxy_read_timeout 1d;
|
||||||
}
|
}
|
||||||
|
|
||||||
location ^~ /.client/ {
|
|
||||||
proxy_pass http://127.0.0.1:30000;
|
|
||||||
client_max_body_size 50M;
|
|
||||||
proxy_set_header Connection "";
|
|
||||||
proxy_set_header Host $http_host;
|
|
||||||
proxy_set_header X-Real-IP $remote_addr;
|
|
||||||
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
|
||||||
proxy_set_header X-Forwarded-Proto $scheme;
|
|
||||||
proxy_set_header X-Frame-Options SAMEORIGIN;
|
|
||||||
proxy_buffers 256 16k;
|
|
||||||
proxy_buffer_size 16k;
|
|
||||||
proxy_read_timeout 600s;
|
|
||||||
proxy_http_version 1.1;
|
|
||||||
}
|
|
||||||
|
|
||||||
location / {
|
location / {
|
||||||
proxy_pass http://127.0.0.1:30000;
|
proxy_pass http://127.0.0.1:30000;
|
||||||
client_max_body_size 50M;
|
client_max_body_size 50M;
|
||||||
@@ -105,5 +90,4 @@ server {
|
|||||||
proxy_cache_lock on;
|
proxy_cache_lock on;
|
||||||
proxy_http_version 1.1;
|
proxy_http_version 1.1;
|
||||||
}
|
}
|
||||||
include /etc/nginx/snippets/deny-dotfiles.conf;
|
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user