From ded0441e2582bd511ae2bdf45cbca8b0f4ae1796 Mon Sep 17 00:00:00 2001 From: lassulus Date: Sat, 11 Jan 2020 20:49:10 +0100 Subject: l paste: add ssl support for p.krebsco.de --- lass/2configs/paste.nix | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lass/2configs/paste.nix b/lass/2configs/paste.nix index 3c3d8e636..23cab8e6e 100644 --- a/lass/2configs/paste.nix +++ b/lass/2configs/paste.nix @@ -10,7 +10,9 @@ with import ; proxy_pass http://localhost:9081; ''; }; - services.nginx.virtualHosts.paste-readonly = { + services.nginx.virtualHosts."p.krebsco.de" = { + enableACME = true; + addSSL = true; serverAliases = [ "p.krebsco.de" ]; locations."/".extraConfig = '' if ($request_method != GET) { -- cgit v1.2.3