[docker/nginx/nginx.conf] Apply coderabbitai change

This commit is contained in:
Junior GABORIT
2026-06-08 11:22:20 +02:00
parent e2f28a84bc
commit 6711fab413
+7 -2
View File
@@ -1,6 +1,11 @@
events {}
http {
map $http_x_forwarded_proto $forwarded_proto {
default $scheme;
"~*^https?$" $http_x_forwarded_proto;
}
client_max_body_size 20G;
ignore_invalid_headers off;
@@ -18,7 +23,7 @@ http {
proxy_set_header Host $http_host;
proxy_set_header X-Forwarded-Host $http_host;
proxy_set_header X-Forwarded-Proto $http_x_forwarded_proto;
proxy_set_header X-Forwarded-Proto $forwarded_proto;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header Upgrade $http_upgrade;
@@ -34,7 +39,7 @@ http {
proxy_set_header Host $http_host;
proxy_set_header X-Forwarded-Host $http_host;
proxy_set_header X-Forwarded-Proto $http_x_forwarded_proto;
proxy_set_header X-Forwarded-Proto $forwarded_proto;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
}
}