From 8af11c52aed27af7f6ae41ab8d0b073b9e02e6f8 Mon Sep 17 00:00:00 2001 From: philip-peterson <1326208+philip-peterson@users.noreply.github.com> Date: Tue, 18 Nov 2025 14:54:59 -0900 Subject: [PATCH] Add fbksdigital --- nixos/nginx.nix | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/nixos/nginx.nix b/nixos/nginx.nix index 4d72e97..0d36868 100644 --- a/nixos/nginx.nix +++ b/nixos/nginx.nix @@ -20,6 +20,20 @@ ''; }; + "fbksdigital.com" = { + enableACME = true; # Enable Let's Encrypt certificate for HTTPS + forceSSL = false; # Redirect HTTP to HTTPS? + addSSL = true; + + root = "/dev/null"; + + locations."/" = { + extraConfig = '' + return 301 http://fbksdigital.lpages.co/fbksdigital/; + ''; + }; + + }; "philippeterson.com" = { enableACME = true; # Enable Let's Encrypt certificate for HTTPS forceSSL = false; # Redirect HTTP to HTTPS?