From 4532bccdc6d5e8079acf71f6849e690882d3d431 Mon Sep 17 00:00:00 2001 From: adel Date: Thu, 21 May 2026 15:09:23 +0000 Subject: [PATCH] Actualiser default.conf --- default.conf | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/default.conf b/default.conf index 21286f3..f7c6c5c 100644 --- a/default.conf +++ b/default.conf @@ -1,6 +1,8 @@ server { listen 80; + client_max_body_size 0; + location / { proxy_pass https://144.91.126.206:8443; @@ -14,9 +16,15 @@ server { proxy_read_timeout 300; send_timeout 300; - proxy_set_header Host $host; + proxy_set_header Host $http_host; proxy_set_header X-Real-IP $remote_addr; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; + proxy_set_header X-Forwarded-Proto https; + proxy_set_header X-Forwarded-Ssl on; + proxy_set_header X-Forwarded-Host $host; + proxy_set_header X-Forwarded-Port 443; + + proxy_redirect off; } } \ No newline at end of file