Merge pull request #57 from YunoHost-Apps/testing
[autopatch] Automatic patch to simplify `proxy_pass`/`fastcgi_pass` o…
This commit is contained in:
+2
-9
@@ -2,14 +2,7 @@
|
|||||||
location __PATH__/ {
|
location __PATH__/ {
|
||||||
|
|
||||||
proxy_pass http://127.0.0.1:__PORT__;
|
proxy_pass http://127.0.0.1:__PORT__;
|
||||||
|
|
||||||
|
include proxy_params_no_auth;
|
||||||
proxy_redirect off;
|
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_http_version 1.1;
|
|
||||||
proxy_set_header Upgrade $http_upgrade;
|
|
||||||
proxy_set_header Connection "upgrade";
|
|
||||||
}
|
}
|
||||||
|
|||||||
+1
-1
@@ -21,7 +21,7 @@ cpe = "cpe:2.3:a:technitium:dnsserver"
|
|||||||
fund = "https://patreon.com/technitium"
|
fund = "https://patreon.com/technitium"
|
||||||
|
|
||||||
[integration]
|
[integration]
|
||||||
yunohost = ">= 12.1.18"
|
yunohost = ">= 12.1.38"
|
||||||
helpers_version = "2.1"
|
helpers_version = "2.1"
|
||||||
architectures = ["amd64", "arm64", "armhf"]
|
architectures = ["amd64", "arm64", "armhf"]
|
||||||
multi_instance = false
|
multi_instance = false
|
||||||
|
|||||||
Reference in New Issue
Block a user