diff --git a/conf/nginx.conf b/conf/nginx.conf index 5a4410a..242b099 100644 --- a/conf/nginx.conf +++ b/conf/nginx.conf @@ -1,17 +1,8 @@ location @__APP__--proxy { proxy_pass __PROXY_PATH__; + include proxy_params_no_auth; proxy_redirect off; - proxy_set_header Host $host; - proxy_set_header X-Real-IP $remote_addr; - proxy_set_header X-Forwarded-Proto $scheme; - proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; - proxy_set_header X-Forwarded-Host $server_name; proxy_set_header X-Forwarded-Port $server_port; - - proxy_http_version 1.1; - proxy_set_header Upgrade $http_upgrade; - proxy_set_header Connection "upgrade"; - more_clear_input_headers 'Accept-Encoding'; } diff --git a/manifest.toml b/manifest.toml index 946ba0d..cfbde46 100644 --- a/manifest.toml +++ b/manifest.toml @@ -14,7 +14,7 @@ license = "AGPL-3.0-or-later" website = "https://en.wikipedia.org/wiki/Reverse_proxy" [integration] -yunohost = ">= 12.0.9" +yunohost = ">= 12.1.38" helpers_version = "2.1" architectures = "all" multi_instance = true