Listen on 8008 and 8448

This commit is contained in:
niten 2023-09-13 15:00:47 -07:00
parent 6b03b4a545
commit f801bac10d
1 changed files with 22 additions and 0 deletions

View File

@ -141,6 +141,28 @@ in {
"${cfg.hostname}" = { "${cfg.hostname}" = {
enableACME = true; enableACME = true;
forceSSL = true; forceSSL = true;
listen = [
{
addr = "0.0.0.0";
port = 80;
ssl = false;
}
{
addr = "0.0.0.0";
port = 443;
ssl = true;
}
{
addr = "0.0.0.0";
port = 8008;
ssl = false;
}
{
addr = "0.0.0.0";
port = 8448;
ssl = true;
}
];
locations."/" = { locations."/" = {
proxyPass = "http://localhost:${toString cfg.port}"; proxyPass = "http://localhost:${toString cfg.port}";
proxyWebsockets = true; proxyWebsockets = true;