Browse Source

Add x-forwarded-proto header.

master
Chris Smith 6 years ago
parent
commit
b816179f40
1 changed files with 1 additions and 0 deletions
  1. 1
    0
      nginx.tpl

+ 1
- 0
nginx.tpl View File

33
         proxy_pass {{ service.protocol }}://{{ service.upstream }};
33
         proxy_pass {{ service.protocol }}://{{ service.upstream }};
34
         proxy_set_header Host $host;
34
         proxy_set_header Host $host;
35
         proxy_set_header X-Forwarded-For $remote_addr;
35
         proxy_set_header X-Forwarded-For $remote_addr;
36
+        proxy_set_header X-Forwarded-Proto $scheme;
36
     }
37
     }
37
 }
38
 }
38
 {% endfor %}
39
 {% endfor %}

Loading…
Cancel
Save