update
This commit is contained in:
1 parent
544767a5c3
commit
4d2cb4f1bc
1 file changed
+6
@@ -52,6 +52,12 @@ server {
|
|||||||
proxy_set_header X-Real-IP $remote_addr;
|
proxy_set_header X-Real-IP $remote_addr;
|
||||||
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
||||||
proxy_set_header X-Forwarded-Proto $scheme;
|
proxy_set_header X-Forwarded-Proto $scheme;
|
||||||
|
# The CSP carries a hash for every distinct inline style/script used in
|
||||||
|
# note bodies. On a large site the header passes nginx's 4k default and
|
||||||
|
# the proxy answers 502 "upstream sent too big header" without this.
|
||||||
|
proxy_buffer_size 32k;
|
||||||
|
proxy_buffers 8 32k;
|
||||||
|
proxy_busy_buffers_size 64k;
|
||||||
# Range seeks in <video> should stream, not buffer through a temp file.
|
# Range seeks in <video> should stream, not buffer through a temp file.
|
||||||
proxy_buffering off;
|
proxy_buffering off;
|
||||||
proxy_read_timeout 60s;
|
proxy_read_timeout 60s;
|
||||||
|
|||||||
Reference in new issue
Block a user