Move the nginx config to rss-bridge
This commit is contained in:
parent
bdaf0c9504
commit
591903f1ac
|
@ -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
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
@ -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
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue