about summary refs log tree commit diff
path: root/users/wpcarro/nixos/modules/www
diff options
context:
space:
mode:
authorWilliam Carroll <wpcarro@gmail.com>2022-06-30T16·29-0700
committerwpcarro <wpcarro@gmail.com>2022-07-12T20·42+0000
commit3297d01f0a53ecfd1d3564815b0f1807f3bc5390 (patch)
tree09ce17eb0eec0f31f256f8126ecd40ae84edb28b /users/wpcarro/nixos/modules/www
parent683de4b159c110f01c1053fbe16257ecc75463bb (diff)
fix(wpcarro/website): Redirect wpcarro.dev traffic r/4297
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 <wpcarro@gmail.com>
Autosubmit: wpcarro <wpcarro@gmail.com>
Tested-by: BuildkiteCI
Diffstat (limited to 'users/wpcarro/nixos/modules/www')
-rw-r--r--users/wpcarro/nixos/modules/www/wpcarro.dev.nix1
1 files changed, 1 insertions, 0 deletions
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;";
     };
   };
 }