Skip to content

Commit

Permalink
PHP: ensure scheme is set to "https" (for FPM)
Browse files Browse the repository at this point in the history
  • Loading branch information
djbe committed Jun 25, 2024
1 parent 508497b commit 851242a
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions common/config/nginx/snippets/fastcgi/config-php.conf
Original file line number Diff line number Diff line change
Expand Up @@ -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;

0 comments on commit 851242a

Please sign in to comment.