From ea3179f7fc94eb9ede143122945306a7f7560ecb Mon Sep 17 00:00:00 2001 From: Markus Schmidl Date: Tue, 2 Apr 2019 01:55:40 +0200 Subject: [PATCH] storage-ng/public-access-proxy: listen to v4 and v6 --- hosts/storage-ng/public-access-proxy/configuration.nix | 2 +- hosts/storage-ng/public-access-proxy/proxy.nix | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/hosts/storage-ng/public-access-proxy/configuration.nix b/hosts/storage-ng/public-access-proxy/configuration.nix index d92d4640..0ea5f6ee 100644 --- a/hosts/storage-ng/public-access-proxy/configuration.nix +++ b/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; }; } ]; diff --git a/hosts/storage-ng/public-access-proxy/proxy.nix b/hosts/storage-ng/public-access-proxy/proxy.nix index e16b7d75..fad4795d 100644 --- a/hosts/storage-ng/public-access-proxy/proxy.nix +++ b/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