disable proxy buffering and add larger header buffer

This commit is contained in:
nd 2021-10-07 23:52:59 +02:00
parent 1b81731a4b
commit f5b437785d
No known key found for this signature in database
GPG key ID: 21B5CD4DEE3670E9
2 changed files with 3 additions and 0 deletions

View file

@ -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;