feat(public-cof): ensure that hedgedocs bind on local ipv6

This commit is contained in:
Raito Bezarius 2022-09-10 16:16:47 +02:00
parent 71e5dcc437
commit c25b0f0eee

View file

@ -9,7 +9,7 @@ in
protocolUseSSL = true;
# scp =; # TODO
domain = "docs.beta.rz.ens.wtf";
host = "localhost";
host = "[::1]";
port = port;
db = {
dialect = "sqlite";
@ -25,13 +25,11 @@ in
enableACME = true;
locations = {
"/" = {
proxyPass = "http://localhost:${toString port}";
proxyPass = "http://[::1]:${toString port}";
proxyWebsockets = true;
};
};
};
};
};
networking.firewall.allowedTCPPorts = [ 433 80 ];
}