Move the nginx config to rss-bridge

This commit is contained in:
Andreas Zweili 2022-11-02 11:32:26 +01:00
parent bdaf0c9504
commit 591903f1ac
2 changed files with 13 additions and 9 deletions

View File

@ -16,4 +16,17 @@ in
];
};
};
services.nginx = {
virtualHosts = {
"rss-bridge.2li.ch" = {
enableACME = true;
forceSSL = true;
listen = [{ port = 4433; addr = "127.0.0.1"; ssl = true; }];
locations."/" = {
proxyPass = "http://127.0.0.1:8082";
proxyWebsockets = true; # needed if you need to use WebSocket
};
};
};
};
}

View File

@ -62,15 +62,6 @@
proxyWebsockets = true; # needed if you need to use WebSocket
};
};
"rss-bridge.2li.ch" = {
enableACME = true;
forceSSL = true;
listen = [{ port = 4433; addr = "127.0.0.1"; ssl = true; }];
locations."/" = {
proxyPass = "http://127.0.0.1:8082";
proxyWebsockets = true; # needed if you need to use WebSocket
};
};
};
};
}