fix: remove dotfile restriction from notes.nhcarrigan.com
Test nginx configuration / Static Analysis (push) Successful in 4s
Test nginx configuration / nginx Syntax Check (push) Successful in 16s
Security Scan and Upload / Security & DefectDojo Upload (push) Successful in 2m33s

This commit is contained in:
2026-03-23 12:57:11 -07:00
committed by Naomi Carrigan
parent 44502b5c52
commit 823d42ad2e
-16
View File
@@ -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;
} }