Fix the nginx config

This commit is contained in:
Andreas Zweili 2022-05-17 23:03:26 +02:00
parent 6e7dad4c71
commit 50730b024a
1 changed files with 4 additions and 4 deletions

View File

@ -23,10 +23,10 @@
recommendedTlsSettings = true;
virtualHosts = {
"2li.ch" = {
serverAlias = [ "www.2li.ch" ];
serverAliases = [ "www.2li.ch" ];
enableACME = true;
forceSSL = true;
listen = [{ port = 4433; ssl = true; }];
listen = [{ port = 4433; addr = "127.0.0.1"; ssl = true; }];
locations."/" = {
proxyPass = "http://127.0.0.1:8080";
proxyWebsockets = true; # needed if you need to use WebSocket
@ -35,7 +35,7 @@
"heimdall.2li.ch" = {
enableACME = true;
forceSSL = true;
listen = [{ port = 4433; ssl = true; }];
listen = [{ port = 4433; addr = "127.0.0.1"; ssl = true; }];
locations."/" = {
proxyPass = "http://127.0.0.1:8081";
proxyWebsockets = true; # needed if you need to use WebSocket
@ -44,7 +44,7 @@
"rss-bridge.2li.ch" = {
enableACME = true;
forceSSL = true;
listen = [{ port = 4433; ssl = 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