tvl-depot/users/wpcarro/nixos/modules/www/wpcarro.dev.nix
William Carroll 3297d01f0a 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 <wpcarro@gmail.com>
Autosubmit: wpcarro <wpcarro@gmail.com>
Tested-by: BuildkiteCI
2022-07-12 20:42:43 +00:00

11 lines
221 B
Nix

{ pkgs, ... }:
{
config = {
services.nginx.virtualHosts."wpcarro.dev" = {
enableACME = true;
forceSSL = true;
extraConfig = "return 302 https://billandhiscomputer.com$request_uri;";
};
};
}