From 7dbc22929b7cc9f7eea5797c0875de2baa39356b Mon Sep 17 00:00:00 2001 From: hexchen Date: Wed, 18 Aug 2021 18:56:05 +0000 Subject: [PATCH] parsons/nginx-pages: add muc.hacc.earth hacc --- services/nginx-pages.nix | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/services/nginx-pages.nix b/services/nginx-pages.nix index e977e18..87899e0 100644 --- a/services/nginx-pages.nix +++ b/services/nginx-pages.nix @@ -16,6 +16,14 @@ in { forceSSL = true; locations."/".proxyPass = "http://${config.containers.gitlab.localAddress}:8090"; }; + "muc.hacc.earth" = { + enableACME = true; + forceSSL = true; + locations."/".extraConfig = '' + proxy_pass "http://${config.containers.gitlab.localAddress}:8090/infra4future/muc.hacc.earth/"; + proxy_set_header Host 'hacc.4future.dev'; + ''; + }; }; security.acme.certs."infra4future.de" = {