From e376c058d6fe42b972e6817714c2ef883a1b304e Mon Sep 17 00:00:00 2001 From: Price Hiller Date: Wed, 7 Feb 2024 21:30:34 -0600 Subject: [PATCH] refactor(hosts/luna): use gitlab server alias for gitlab, not gitea --- hosts/luna/modules/docker/gitlab.nix | 1 + hosts/luna/modules/services/gitea.nix | 1 - 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/hosts/luna/modules/docker/gitlab.nix b/hosts/luna/modules/docker/gitlab.nix index 3f74a27..00d56d6 100644 --- a/hosts/luna/modules/docker/gitlab.nix +++ b/hosts/luna/modules/docker/gitlab.nix @@ -61,6 +61,7 @@ in services.nginx.virtualHosts."${gitlab_host}" = { locations."/".proxyPass = "http://127.0.0.1:8080"; + serverAliases = [ "gitlab.${fqdn}" ]; forceSSL = true; enableACME = true; }; diff --git a/hosts/luna/modules/services/gitea.nix b/hosts/luna/modules/services/gitea.nix index f163b68..b6d8ca8 100644 --- a/hosts/luna/modules/services/gitea.nix +++ b/hosts/luna/modules/services/gitea.nix @@ -72,7 +72,6 @@ in { nginx.virtualHosts."${gitea_host}" = { enableACME = true; forceSSL = true; - serverAliases = [ "gitlab.${fqdn}" ]; locations."/".proxyPass = "http://${config.services.gitea.settings.server.HTTP_ADDR}:${ builtins.toString config.services.gitea.settings.server.HTTP_PORT