Skip to content

Commit 87fa471

Browse files
committed
Try forcing http proto
1 parent 77fab21 commit 87fa471

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

appyter/profiles/default/templates/production/nginx.conf.j2

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,11 @@
77
{%- if _config.PROXY %}
88
proxy_set_header Host $http_x_forwarded_host;
99
proxy_set_header X-Forwarded-For $http_x_forwarded_for;
10-
proxy_set_header X-Forwarded-Proto $http_x_forwarded_proto;
1110
{% else %}
1211
proxy_set_header Host $http_host;
1312
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
14-
proxy_set_header X-Forwarded-Proto $proxy_add_x_forwarded_proto;
1513
{%- endif %}
14+
proxy_set_header X-Forwarded-Proto http;
1615
{%- if ws %}
1716
proxy_http_version 1.1;
1817
proxy_set_header Upgrade $http_upgrade;

0 commit comments

Comments
 (0)