Add gitea

This commit is contained in:
2024-09-09 14:01:35 +02:00
parent 83670dbabb
commit b449a06e92
2 changed files with 22 additions and 3 deletions
+19
View File
@@ -105,6 +105,17 @@ in {
};
};
virtualHosts."git.sdg.moe" = {
enableACME = true;
forceSSL = true;
locations."/" = {
proxyPass = "http://localhost:4789";
proxyWebsockets = true;
extraConfig = "proxy_pass_header Authorization;";
};
};
# virtualHosts."suwayomi.sdg.moe" = {
# enableACME = true;
# forceSSL = true;
@@ -180,6 +191,14 @@ in {
};
};
services.gitea = rec {
enable = true;
disableRegistration = true;
domain = "sdg.moe";
rootUrl = "https://git.${domain}/";
httpPort = 4789;
};
# services.suwayomi-server = {
# enable = true;
# settings.server = {