disable proxy buffering and add larger header buffer
This commit is contained in:
parent
1b81731a4b
commit
f5b437785d
2 changed files with 3 additions and 0 deletions
|
|
@ -47,6 +47,8 @@ server {
|
|||
{% if location.backend|d(False) %}
|
||||
proxy_pass {{ location.backend }};
|
||||
|
||||
proxy_buffering off;
|
||||
|
||||
# add proxy headers
|
||||
proxy_set_header Host {{ vhost.host }};
|
||||
proxy_set_header X-Real-IP $remote_addr;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue