From 58df27cc3a0668915bc5c36070cefcdbcb6d1ef8 Mon Sep 17 00:00:00 2001 From: Ingolf Wagner Date: Fri, 5 Mar 2021 17:45:54 +0100 Subject: [PATCH] sputnik fixing lets encrypt fixes --- configs/sputnik/nginx.nix | 54 +++++++++++++++++++-------------------- 1 file changed, 27 insertions(+), 27 deletions(-) diff --git a/configs/sputnik/nginx.nix b/configs/sputnik/nginx.nix index 4a5e086..c30ef02 100644 --- a/configs/sputnik/nginx.nix +++ b/configs/sputnik/nginx.nix @@ -195,33 +195,33 @@ in { } // error.locations; }; - "chat.ingolf-wagner.de" = { - listen = [ - { - addr = "0.0.0.0"; - port = 4443; - ssl = true; - } - { - addr = "0.0.0.0"; - port = 80; - ssl = false; - } - ]; - forceSSL = true; - enableACME = true; - extraConfig = error.extraConfig; - locations = { - "/" = { - proxyPass = "http://chat.workhorse.private"; - proxyWebsockets = true; - extraConfig = '' - sub_filter "http://chat.ingolf-wagner.de" "https://chat.ingolf-wagner.de"; - sub_filter "chat.workhorse.private" "chat.ingolf-wagner.de"; - ''; - }; - } // error.locations; - }; + #"chat.ingolf-wagner.de" = { + # listen = [ + # { + # addr = "0.0.0.0"; + # port = 4443; + # ssl = true; + # } + # { + # addr = "0.0.0.0"; + # port = 80; + # ssl = false; + # } + # ]; + # forceSSL = true; + # enableACME = true; + # extraConfig = error.extraConfig; + # locations = { + # "/" = { + # proxyPass = "http://chat.workhorse.private"; + # proxyWebsockets = true; + # extraConfig = '' + # sub_filter "http://chat.ingolf-wagner.de" "https://chat.ingolf-wagner.de"; + # sub_filter "chat.workhorse.private" "chat.ingolf-wagner.de"; + # ''; + # }; + # } // error.locations; + #}; "nextcloud.ingolf-wagner.de" = { listen = [