From 4b88ae2a68ce85bf62151fcd5d4fb13d7deca6fc Mon Sep 17 00:00:00 2001 From: Philip Peterson <1326208+philip-peterson@users.noreply.github.com> Date: Thu, 4 Jun 2026 19:37:11 -0700 Subject: [PATCH] use nginx --- nixos/nginx.nix | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) 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;