diff --git a/nixos/nginx.nix b/nixos/nginx.nix index 0d36868..45e8443 100644 --- a/nixos/nginx.nix +++ b/nixos/nginx.nix @@ -20,6 +20,27 @@ ''; }; + "pdxdestiny.com" = { + enableACME = true; # Enable Let's Encrypt certificate for HTTPS + forceSSL = false; # Redirect HTTP to HTTPS? + addSSL = true; + root = "/dev/null"; + locations."/" = { + extraConfig = '' + default_type text/html; + return 200 ' + + + Hello World + + +

Hello World!

+

Welcome to pdxdestiny.com

+ + '; + ''; + }; + }; "fbksdigital.com" = { enableACME = true; # Enable Let's Encrypt certificate for HTTPS forceSSL = false; # Redirect HTTP to HTTPS?