diff --git a/conf/nginx.conf b/conf/nginx.conf index dd9ce67..16be95b 100644 --- a/conf/nginx.conf +++ b/conf/nginx.conf @@ -2,12 +2,7 @@ location __PATH__/ { proxy_pass http://127.0.0.1:__PORT__; - proxy_set_header X-Real-IP $remote_addr; - proxy_http_version 1.1; - proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; - proxy_set_header Host $host; - proxy_set_header Connection "Upgrade"; - proxy_set_header Upgrade $http_upgrade; + + include proxy_params_no_auth; proxy_set_header X-Nginx-Proxy true; - proxy_set_header X-Forwarded-Proto $scheme; } diff --git a/manifest.toml b/manifest.toml index 9e00bef..d5c9072 100644 --- a/manifest.toml +++ b/manifest.toml @@ -18,7 +18,7 @@ admindoc = "https://docs.pufferpanel.com/en/latest/" code = "https://github.com/PufferPanel/PufferPanel" [integration] -yunohost = ">= 12.1.17" +yunohost = ">= 12.1.38" helpers_version = "2.1" architectures = "all" multi_instance = false