mirror of
https://github.com/frappe/frappe_docker.git
synced 2026-06-17 13:55:08 +00:00
fix(nginx): use X-Forwarded-Proto for backend requests behind reverse proxy
This commit is contained in:
parent
6e8384827f
commit
8070e5822e
1 changed files with 1 additions and 1 deletions
|
|
@ -69,7 +69,7 @@ server {
|
|||
location @webserver {
|
||||
proxy_http_version 1.1;
|
||||
proxy_set_header X-Forwarded-For $remote_addr;
|
||||
proxy_set_header X-Forwarded-Proto $scheme;
|
||||
proxy_set_header X-Forwarded-Proto $proxy_x_forwarded_proto;
|
||||
proxy_set_header X-Frappe-Site-Name ${FRAPPE_SITE_NAME_HEADER};
|
||||
proxy_set_header Host $host;
|
||||
proxy_set_header X-Use-X-Accel-Redirect True;
|
||||
|
|
|
|||
Loading…
Reference in a new issue