From a63ec071f7deb87f2923cc01efe27baa7298ecd8 Mon Sep 17 00:00:00 2001 From: CryptoTitan Date: Mon, 16 Dec 2024 12:56:04 +0100 Subject: [PATCH] Update default.conf --- src/default.conf | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/default.conf b/src/default.conf index 9c9f0e7..1b23e5b 100644 --- a/src/default.conf +++ b/src/default.conf @@ -27,16 +27,13 @@ server { # Enable SSL trust for Traefik if ($http_x_forwarded_proto = 'https') { set $https on; - } - - if ($http_x_forwarded_proto = 'https') { set $request_scheme https; # Override REQUEST_SCHEME } # Pass custom HTTPS parameters and override REQUEST_SCHEME fastcgi_param HTTPS $https; fastcgi_param HTTP_X_FORWARDED_PROTO $http_x_forwarded_proto; - fastcgi_param REQUEST_SCHEME $http_x_forwarded_proto; + fastcgi_param REQUEST_SCHEME https; } client_max_body_size 128M;