Reformat the nginx config

This commit is contained in:
Andreas Zweili 2022-11-02 14:15:56 +01:00
parent 591903f1ac
commit 4e669f4026

View File

@ -16,17 +16,13 @@ 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
};
};
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
};
};
}