add protocol header for proxied services (#1076)

This commit is contained in:
Lucy C
2022-01-14 17:48:17 -07:00
committed by Aiden McClelland
parent 4189da20e1
commit f29608576d

View File

@@ -7,6 +7,7 @@ server {{
location / {{
proxy_pass http://{app_ip}:{internal_port}/;
proxy_set_header Host $host;
proxy_set_header X-Forwarded-Proto $scheme;
client_max_body_size 0;
proxy_request_buffering off;
proxy_buffering off;