From 4ca1f6223d5d66281cd485ce6f53bbfae14b5527 Mon Sep 17 00:00:00 2001 From: Jo Date: Sun, 23 Mar 2025 12:36:29 +0000 Subject: [PATCH] alex: Add Evil Wafrn muhahahaha --- services/alex.nix | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/services/alex.nix b/services/alex.nix index a292776..1f6eb85 100644 --- a/services/alex.nix +++ b/services/alex.nix @@ -143,6 +143,22 @@ }; }; + # Reqeusts SSL and adds the site to nginx + services.nginx.virtualHosts."evil.wafrn.net" = { + forceSSL = true; + enableACME = true; + locations."/" = { + proxyPass = "http://192.168.178.84"; + proxyWebsockets = true; # needed if you need to use WebSocket + extraConfig = + # required when the target is also TLS server with multiple hosts + "proxy_ssl_server_name on;" + + # required when the server wants to use HTTP Authentication + "proxy_pass_header Authorization;" + ; + }; + }; + # Reqeusts SSL and adds the site to nginx # services.nginx.virtualHosts."matrix.nederland.gay" = { # forceSSL = true;