fix: allow SilverBullet .client assets on notes.nhcarrigan.com
Test nginx configuration / Static Analysis (push) Successful in 6s
Test nginx configuration / nginx Syntax Check (push) Successful in 23s
Security Scan and Upload / Security & DefectDojo Upload (push) Successful in 1m11s

This commit is contained in:
2026-03-23 12:54:09 -07:00
committed by Naomi Carrigan
parent 89aef0bf1a
commit 44502b5c52
+15
View File
@@ -72,6 +72,21 @@ server {
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 / {
proxy_pass http://127.0.0.1:30000;
client_max_body_size 50M;