mirror of
https://github.com/zoriya/flake.git
synced 2026-05-28 17:05:19 +00:00
Add gitea
This commit is contained in:
@@ -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 = {
|
||||
|
||||
Reference in New Issue
Block a user