From cf38d6fc59ab073e3417234304c9bd8649902d71 Mon Sep 17 00:00:00 2001 From: Mork Swork Date: Mon, 16 Feb 2026 12:26:47 -0800 Subject: [PATCH] hai world --- nixos/nginx.nix | 21 +++++---------------- nixos/pdxdestiny/index.html | 1 + nixos/pdxdestiny/logo.png | 0 3 files changed, 6 insertions(+), 16 deletions(-) create mode 100644 nixos/pdxdestiny/index.html create mode 100644 nixos/pdxdestiny/logo.png diff --git a/nixos/nginx.nix b/nixos/nginx.nix index 45e8443..65413fe 100644 --- a/nixos/nginx.nix +++ b/nixos/nginx.nix @@ -24,22 +24,11 @@ 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

- - '; - ''; - }; + root = pkgs.runCommand "pdxdestiny-web" {} '' + mkdir -p $out + cp ${./pdxdestiny/index.html} $out/index.html + cp ${pkgs.copyPathToStore ./logo.png} $out/logo.png + ''; }; "fbksdigital.com" = { enableACME = true; # Enable Let's Encrypt certificate for HTTPS diff --git a/nixos/pdxdestiny/index.html b/nixos/pdxdestiny/index.html new file mode 100644 index 0000000..194e91a --- /dev/null +++ b/nixos/pdxdestiny/index.html @@ -0,0 +1 @@ +hai world \ No newline at end of file diff --git a/nixos/pdxdestiny/logo.png b/nixos/pdxdestiny/logo.png new file mode 100644 index 0000000..e69de29