diff --git a/conf/nginx.conf b/conf/nginx.conf index b14062f..434c236 100644 --- a/conf/nginx.conf +++ b/conf/nginx.conf @@ -19,9 +19,8 @@ location __PATH__/ { proxy_pass http://localhost:__PORT__; 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 $scheme; - client_max_body_size 10m; + proxy_set_header X-Forwarded-For $remote_addr; + proxy_redirect off; # Include SSOWAT user panel. include conf.d/yunohost_panel.conf.inc;