forked from colonelpanic/dotfiles
[NixOS] Try to forceSSL
This commit is contained in:
parent
9d221f2bf4
commit
d69bf463cc
@ -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";
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user