diff --git a/nixos/nginx.nix b/nixos/nginx.nix index 17bb1a9..c4fcd30 100644 --- a/nixos/nginx.nix +++ b/nixos/nginx.nix @@ -114,6 +114,22 @@ }; }; + "pluto.philippeterson.com" = { + useACMEHost = "pluto.philippeterson.com"; + onlySSL = true; + + locations."/" = { + proxyPass = "http://127.0.0.1:1234/"; + extraConfig = '' + proxy_http_version 1.1; + proxy_set_header Upgrade $http_upgrade; + proxy_set_header Connection "upgrade"; + proxy_set_header Host $host; + proxy_read_timeout 86400; + ''; + }; + }; + "vnc.quinefoundation.com" = { enableACME = true; forceSSL = true;