Skip to content

Commit fdc38e4

Browse files
committed
Also forward x-forwarded-proto?
1 parent 59f6639 commit fdc38e4

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +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;
1011
{% else %}
1112
proxy_set_header Host $http_host;
1213
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
14+
proxy_set_header X-Forwarded-Proto $proxy_add_x_forwarded_proto;
1315
{%- endif %}
1416
{%- if ws %}
1517
proxy_http_version 1.1;

0 commit comments

Comments
 (0)