From a2d0018ed2d486638046abe1a15fb3a625cbb5a8 Mon Sep 17 00:00:00 2001 From: Ashelyn Rose Date: Mon, 25 Mar 2024 22:54:31 -0600 Subject: [PATCH] Add thing for phantomthieves mastodon --- hosts/nyx/include/proxy.nix | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/hosts/nyx/include/proxy.nix b/hosts/nyx/include/proxy.nix index 6238ae9..860c225 100644 --- a/hosts/nyx/include/proxy.nix +++ b/hosts/nyx/include/proxy.nix @@ -42,4 +42,16 @@ forceSSL = true; enableACME = true; }; + + services.nginx.virtualHosts."m.phantomthieves.net" = { + locations."/" = { + proxyPass = "https://melete.tempest.dev/"; + extraConfig = '' + proxy_set_header Host $host; + ''; + proxyWebsockets = true; + }; + forceSSL = true; + enableACME = true; + }; }