[NixOS] Swap secure and insecure ports for gitea

This commit is contained in:
Ivan Malison 2023-10-01 13:54:34 -06:00
parent d69bf463cc
commit 1a69faf85d

View File

@ -7,7 +7,7 @@ makeEnable config "modules.gitea" false {
settings.server = { settings.server = {
DOMAIN = "1896Folsom.duckdns.org"; DOMAIN = "1896Folsom.duckdns.org";
SSH_PORT = 1123; SSH_PORT = 1123;
HTTP_PORT = 3000; HTTP_PORT = 3001;
}; };
settings.actions = { settings.actions = {
ENABLED = true; ENABLED = true;
@ -23,7 +23,7 @@ makeEnable config "modules.gitea" false {
forceSSL = true; forceSSL = true;
listen = [{ listen = [{
addr = "0.0.0.0"; addr = "0.0.0.0";
port = 3001; port = 3000;
ssl = true; ssl = true;
}]; }];
locations."/" = { locations."/" = {