We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 588fc3a commit a63ec07Copy full SHA for a63ec07
src/default.conf
@@ -27,16 +27,13 @@ server {
27
# Enable SSL trust for Traefik
28
if ($http_x_forwarded_proto = 'https') {
29
set $https on;
30
- }
31
-
32
- if ($http_x_forwarded_proto = 'https') {
33
set $request_scheme https; # Override REQUEST_SCHEME
34
}
35
36
# Pass custom HTTPS parameters and override REQUEST_SCHEME
37
fastcgi_param HTTPS $https;
38
fastcgi_param HTTP_X_FORWARDED_PROTO $http_x_forwarded_proto;
39
- fastcgi_param REQUEST_SCHEME $http_x_forwarded_proto;
+ fastcgi_param REQUEST_SCHEME https;
40
41
42
client_max_body_size 128M;
0 commit comments