diff options
author | Paweł Dybiec <pawel@dybiec.info> | 2021-02-10 23:14:53 +0000 |
---|---|---|
committer | Paweł Dybiec <pawel@dybiec.info> | 2021-02-10 23:14:53 +0000 |
commit | 2f27dab991edc058b4850c5a1596f895e1587936 (patch) | |
tree | bc3162edb76481d242e6b06bdc0f018c5970bb65 /templates/nginx.conf.j2 | |
parent | Change cs to old algorithms (diff) |
Add missing stuff in headers, add new vpn client
Diffstat (limited to 'templates/nginx.conf.j2')
-rw-r--r-- | templates/nginx.conf.j2 | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/templates/nginx.conf.j2 b/templates/nginx.conf.j2 index 1b7f18d..aee87da 100644 --- a/templates/nginx.conf.j2 +++ b/templates/nginx.conf.j2 @@ -30,6 +30,7 @@ server { proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; proxy_set_header Host $http_host; proxy_set_header X-Forwarded-Proto $scheme; + proxy_set_header X-Scheme $scheme; proxy_redirect off; proxy_http_version 1.1; {% if server.websocket is defined and server.websocket %} |