From f9c27964706773a7a30cb636b2b17ceab2446c53 Mon Sep 17 00:00:00 2001 From: Joe Mou Date: Sat, 27 Apr 2024 01:47:45 -0400 Subject: elmo: Hoist subdomains and issue production certificates --- hostnix/elmo/usenet.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'hostnix/elmo/usenet.nix') diff --git a/hostnix/elmo/usenet.nix b/hostnix/elmo/usenet.nix index ab381a9..26d7a7b 100644 --- a/hostnix/elmo/usenet.nix +++ b/hostnix/elmo/usenet.nix @@ -42,11 +42,11 @@ in }; }; - services.nginx.virtualHosts."ng.elmo.mou.fo" = { + services.nginx.virtualHosts."ng.mou.fo" = { enableACME = true; forceSSL = true; locations."/".proxyPass = "http://[::1]:6789"; }; - services.oauth2_proxy.nginx.virtualHosts = [ "ng.elmo.mou.fo" ]; + services.oauth2_proxy.nginx.virtualHosts = [ "ng.mou.fo" ]; } -- cgit v1.3.1