mirror of
https://github.com/Start9Labs/start-os.git
synced 2026-03-30 12:11:56 +00:00
add protocol header for proxied services (#1076)
This commit is contained in:
@@ -7,6 +7,7 @@ server {{
|
|||||||
location / {{
|
location / {{
|
||||||
proxy_pass http://{app_ip}:{internal_port}/;
|
proxy_pass http://{app_ip}:{internal_port}/;
|
||||||
proxy_set_header Host $host;
|
proxy_set_header Host $host;
|
||||||
|
proxy_set_header X-Forwarded-Proto $scheme;
|
||||||
client_max_body_size 0;
|
client_max_body_size 0;
|
||||||
proxy_request_buffering off;
|
proxy_request_buffering off;
|
||||||
proxy_buffering off;
|
proxy_buffering off;
|
||||||
|
|||||||
Reference in New Issue
Block a user