refactor(hosts/luna): use gitlab server alias for gitlab, not gitea

This commit is contained in:
Price Hiller 2024-02-07 21:30:34 -06:00
parent 25837dfd62
commit e376c058d6
Signed by: Price
SSH Key Fingerprint: SHA256:Y4S9ZzYphRn1W1kbJerJFO6GGsfu9O70VaBSxJO7dF8
2 changed files with 1 additions and 1 deletions

View File

@ -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;
};

View File

@ -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