feat(public-cof): ensure that hedgedocs bind on local ipv6
This commit is contained in:
parent
71e5dcc437
commit
c25b0f0eee
1 changed files with 2 additions and 4 deletions
|
@ -9,7 +9,7 @@ in
|
||||||
protocolUseSSL = true;
|
protocolUseSSL = true;
|
||||||
# scp =; # TODO
|
# scp =; # TODO
|
||||||
domain = "docs.beta.rz.ens.wtf";
|
domain = "docs.beta.rz.ens.wtf";
|
||||||
host = "localhost";
|
host = "[::1]";
|
||||||
port = port;
|
port = port;
|
||||||
db = {
|
db = {
|
||||||
dialect = "sqlite";
|
dialect = "sqlite";
|
||||||
|
@ -25,13 +25,11 @@ in
|
||||||
enableACME = true;
|
enableACME = true;
|
||||||
locations = {
|
locations = {
|
||||||
"/" = {
|
"/" = {
|
||||||
proxyPass = "http://localhost:${toString port}";
|
proxyPass = "http://[::1]:${toString port}";
|
||||||
proxyWebsockets = true;
|
proxyWebsockets = true;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
networking.firewall.allowedTCPPorts = [ 433 80 ];
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue