mirror of
https://github.com/frappe/gunicorn.git
synced 2026-01-14 11:09:11 +08:00
Merge pull request #764 from mattrobenolt/patch-1
Consistent usage of `@proxy_to_app` named location
This commit is contained in:
commit
86bab94c6c
@ -77,7 +77,7 @@ To turn off buffering, you only need to add ``proxy_buffering off;`` to your
|
||||
``location`` block::
|
||||
|
||||
...
|
||||
location / {
|
||||
location @proxy_to_app {
|
||||
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
||||
proxy_set_header Host $http_host;
|
||||
proxy_redirect off;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user