generated from nhcarrigan/template
fix: allow SilverBullet .client assets on notes.nhcarrigan.com
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user