diff --git a/ponyconf.yml b/ponyconf.yml index 916e48e..c1e61a3 100644 --- a/ponyconf.yml +++ b/ponyconf.yml @@ -95,7 +95,7 @@ location / { proxy_pass http://unix:{{ ponyconf_home }}/ponyconf.sock; proxy_set_header Host $host; - proxy_set_header X-Forwarded-Protocol $scheme; + proxy_set_header X-Forwarded-Proto $scheme; } } @@ -134,7 +134,7 @@ SECRET_KEY = "{{ ponyconf_secret }}" ALLOWED_HOSTS = {{ ponyconf_sites | map(attribute='domain') | to_json }} - + SECURE_PROXY_SSL_HEADER = ('HTTP_X_FORWARDED_PROTO', 'https') DEBUG = False LOGGING = { "version": 1,