Skip to content

Commit

Permalink
Update default.conf
Browse files Browse the repository at this point in the history
  • Loading branch information
crypto-titan authored Dec 16, 2024
1 parent 588fc3a commit a63ec07
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions src/default.conf
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit a63ec07

Please sign in to comment.