Browse Source

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

container/radius
Markus Schmidl 3 years ago
parent
commit
ea3179f7fc
  1. 2
      hosts/storage-ng/public-access-proxy/configuration.nix
  2. 4
      hosts/storage-ng/public-access-proxy/proxy.nix

2
hosts/storage-ng/public-access-proxy/configuration.nix

@ -36,7 +36,7 @@
enable = true;
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; };
}
];

4
hosts/storage-ng/public-access-proxy/proxy.nix

@ -81,7 +81,7 @@ in {
hold valid 1s
frontend http-in
bind *:80
bind :::80 v4v6
default_backend proxy-backend-http
backend proxy-backend-http
@ -101,7 +101,7 @@ in {
}
frontend https-in
bind *:443
bind :::443 v4v6
default_backend proxy-backend-https
backend proxy-backend-https

Loading…
Cancel
Save