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}" = {
|
services.nginx.virtualHosts."${gitlab_host}" = {
|
||||||
locations."/".proxyPass = "http://127.0.0.1:8080";
|
locations."/".proxyPass = "http://127.0.0.1:8080";
|
||||||
|
serverAliases = [ "gitlab.${fqdn}" ];
|
||||||
forceSSL = true;
|
forceSSL = true;
|
||||||
enableACME = true;
|
enableACME = true;
|
||||||
};
|
};
|
||||||
|
@ -72,7 +72,6 @@ in {
|
|||||||
nginx.virtualHosts."${gitea_host}" = {
|
nginx.virtualHosts."${gitea_host}" = {
|
||||||
enableACME = true;
|
enableACME = true;
|
||||||
forceSSL = true;
|
forceSSL = true;
|
||||||
serverAliases = [ "gitlab.${fqdn}" ];
|
|
||||||
locations."/".proxyPass =
|
locations."/".proxyPass =
|
||||||
"http://${config.services.gitea.settings.server.HTTP_ADDR}:${
|
"http://${config.services.gitea.settings.server.HTTP_ADDR}:${
|
||||||
builtins.toString config.services.gitea.settings.server.HTTP_PORT
|
builtins.toString config.services.gitea.settings.server.HTTP_PORT
|
||||||
|
Loading…
Reference in New Issue
Block a user