[NixOS] Try to forceSSL

This commit is contained in:
Ivan Malison 2023-10-01 13:50:57 -06:00
parent 9d221f2bf4
commit d69bf463cc

View File

@ -20,12 +20,12 @@ makeEnable config "modules.gitea" false {
"gitea" = { "gitea" = {
serverName = "1896Folsom.duckdns.org"; serverName = "1896Folsom.duckdns.org";
enableACME = true; enableACME = true;
forceSSL = true;
listen = [{ listen = [{
addr = "0.0.0.0"; addr = "0.0.0.0";
port = 3001; port = 3001;
ssl = true;
}]; }];
# enableACME = true;
# forceSSL = true;
locations."/" = { locations."/" = {
proxyPass = "http://localhost:3000"; proxyPass = "http://localhost:3000";
}; };