From 8f6c19d0b626b031b2903173de7a20227e0f5771 Mon Sep 17 00:00:00 2001 From: Chris Cochrun Date: Fri, 9 Feb 2024 12:11:51 -0600 Subject: [PATCH] making tfcconnection.com forward to .org --- system/shen/configuration.nix | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/system/shen/configuration.nix b/system/shen/configuration.nix index eeac990..d74674b 100644 --- a/system/shen/configuration.nix +++ b/system/shen/configuration.nix @@ -264,11 +264,17 @@ } ''; }; + virtualHosts = { + "tfcconnection.com".extraConfig = '' + redir https://tfcconnection.org + header { + Access-Control-Allow-Origin * + } + ''; + }; virtualHosts = { "www.tfcconnection.org".extraConfig = '' - encode gzip - root * /srv/tfcconnection - file_server + redir https://tfcconnection.org header { Access-Control-Allow-Origin * }