update nginx.conf

This commit is contained in:
2024-07-03 13:23:31 +01:00
parent a7ad81a3fe
commit 14f38c8ec6
+3 -4
View File
@@ -2,13 +2,12 @@ worker_processes 1;
events { worker_connections 1024; } events { worker_connections 1024; }
http { http {
proxy_http_version 1.1;
proxy_set_header X-Forwarded-Scheme $scheme;
proxy_set_header Accept-Encoding "";
sendfile on; sendfile on;
client_max_body_size 500M; client_max_body_size 500M;
proxy_http_version 1.1;
proxy_set_header X-Forwarded-Scheme $scheme;
proxy_set_header Accept-Encoding "";
proxy_set_header Host $host; proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr; proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;