From 3297d01f0a53ecfd1d3564815b0f1807f3bc5390 Mon Sep 17 00:00:00 2001 From: William Carroll Date: Thu, 30 Jun 2022 09:29:30 -0700 Subject: fix(wpcarro/website): Redirect wpcarro.dev traffic To https://billandhiscomputer.com (instead of the nginx default landing page). Change-Id: Id08a3a54c0753c20370a45ff6344128f180d52dd Reviewed-on: https://cl.tvl.fyi/c/depot/+/5904 Reviewed-by: wpcarro Autosubmit: wpcarro Tested-by: BuildkiteCI --- users/wpcarro/nixos/modules/www/wpcarro.dev.nix | 1 + 1 file changed, 1 insertion(+) (limited to 'users/wpcarro/nixos') diff --git a/users/wpcarro/nixos/modules/www/wpcarro.dev.nix b/users/wpcarro/nixos/modules/www/wpcarro.dev.nix index 7c4af627edfd..62c1ed308c89 100644 --- a/users/wpcarro/nixos/modules/www/wpcarro.dev.nix +++ b/users/wpcarro/nixos/modules/www/wpcarro.dev.nix @@ -5,6 +5,7 @@ services.nginx.virtualHosts."wpcarro.dev" = { enableACME = true; forceSSL = true; + extraConfig = "return 302 https://billandhiscomputer.com$request_uri;"; }; }; } -- cgit 1.4.1