Reformat the nginx config
This commit is contained in:
parent
591903f1ac
commit
4e669f4026
|
@ -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
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user