refactor(hosts/luna): use gitlab server alias for gitlab, not gitea
This commit is contained in:
parent
25837dfd62
commit
e376c058d6
@ -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;
|
||||
};
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user