mirror of
https://gitlab.archlinux.org/archlinux/aurweb.git
synced 2025-02-03 10:43:03 +01:00
fix(docker): add more proxy headers
https://docs.gunicorn.org/en/18.0/settings.html Signed-off-by: Kevin Morris <kevr@0cost.org>
This commit is contained in:
parent
ca0f462810
commit
ef46a8615b
1 changed files with 2 additions and 0 deletions
|
@ -136,8 +136,10 @@ http {
|
||||||
proxy_pass http://asgi_backend;
|
proxy_pass http://asgi_backend;
|
||||||
proxy_set_header Host $http_host;
|
proxy_set_header Host $http_host;
|
||||||
proxy_set_header Forwarded "";
|
proxy_set_header Forwarded "";
|
||||||
|
proxy_set_header X-Forwarded-Protocol ssl;
|
||||||
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 https;
|
proxy_set_header X-Forwarded-Proto https;
|
||||||
|
proxy_set_header X-Forwaded-Ssl on;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue