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