change gitea domain
This commit is contained in:
parent
a91845f149
commit
39b95eaf7d
|
@ -57,8 +57,8 @@
|
||||||
# Setup gitea
|
# Setup gitea
|
||||||
services.gitea = {
|
services.gitea = {
|
||||||
enable = true;
|
enable = true;
|
||||||
domain = "gitea.stranger.systems";
|
domain = "git.stranger.systems";
|
||||||
rootUrl = "https://gitea.stranger.systems";
|
rootUrl = "https://git.stranger.systems";
|
||||||
appName = "Stranger Systems Git Mirror";
|
appName = "Stranger Systems Git Mirror";
|
||||||
settings = {
|
settings = {
|
||||||
service = { DISABLE_REGISTRATION = true; };
|
service = { DISABLE_REGISTRATION = true; };
|
||||||
|
@ -69,7 +69,7 @@
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
services.nginx.virtualHosts."gitea.stranger.systems" = {
|
services.nginx.virtualHosts."git.stranger.systems" = {
|
||||||
enableACME = true;
|
enableACME = true;
|
||||||
forceSSL = true;
|
forceSSL = true;
|
||||||
locations."/" = { proxyPass = "http://localhost:3000"; };
|
locations."/" = { proxyPass = "http://localhost:3000"; };
|
||||||
|
|
Loading…
Reference in New Issue