storage-ng/public-access-proxy: listen to v4 and v6
This commit is contained in:
parent
f7fd74fd95
commit
ea3179f7fc
|
@ -36,7 +36,7 @@
|
||||||
enable = true;
|
enable = true;
|
||||||
proxyHosts = [
|
proxyHosts = [
|
||||||
{
|
{
|
||||||
hostNames = [ "c3d2.arkom.men" "test.arkom.men" ];
|
hostNames = [ "arkom.men" "c3d2.arkom.men" "test.arkom.men" ];
|
||||||
proxyTo = { host = "cloud.bombenverleih.de"; httpPort = 80; httpsPort = 443; };
|
proxyTo = { host = "cloud.bombenverleih.de"; httpPort = 80; httpsPort = 443; };
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
|
|
|
@ -81,7 +81,7 @@ in {
|
||||||
hold valid 1s
|
hold valid 1s
|
||||||
|
|
||||||
frontend http-in
|
frontend http-in
|
||||||
bind *:80
|
bind :::80 v4v6
|
||||||
default_backend proxy-backend-http
|
default_backend proxy-backend-http
|
||||||
|
|
||||||
backend proxy-backend-http
|
backend proxy-backend-http
|
||||||
|
@ -101,7 +101,7 @@ in {
|
||||||
}
|
}
|
||||||
|
|
||||||
frontend https-in
|
frontend https-in
|
||||||
bind *:443
|
bind :::443 v4v6
|
||||||
default_backend proxy-backend-https
|
default_backend proxy-backend-https
|
||||||
|
|
||||||
backend proxy-backend-https
|
backend proxy-backend-https
|
||||||
|
|
Loading…
Reference in New Issue