storage-ng/public-access-proxy: listen to v4 and v6

This commit is contained in:
Markus Schmidl 2019-04-02 01:55:40 +02:00
parent f7fd74fd95
commit ea3179f7fc
2 changed files with 3 additions and 3 deletions

View File

@ -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; };
} }
]; ];

View File

@ -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