diff --git a/common/config/nginx/snippets/fastcgi/config-php.conf b/common/config/nginx/snippets/fastcgi/config-php.conf index 886bb16..013e2fe 100644 --- a/common/config/nginx/snippets/fastcgi/config-php.conf +++ b/common/config/nginx/snippets/fastcgi/config-php.conf @@ -14,3 +14,7 @@ fastcgi_param HTTP_PROXY ""; fastcgi_index index.php; include fastcgi.conf; + +# Enforce HTTPS (gets lost through chaining proxies) +fastcgi_param REQUEST_SCHEME https; +fastcgi_param HTTPS on;