hai world

This commit is contained in:
Mork Swork 2026-02-16 12:29:18 -08:00
parent cf38d6fc59
commit 6d6dcd818c

View file

@ -7,7 +7,14 @@
services.nginx = {
enable = true;
virtualHosts = {
virtualHosts = let
pdxDestinyRoot = pkgs.runCommand "pdxdestiny-web" {} ''
mkdir -p $out
cp ${./pdxdestiny/index.html} $out/index.html
cp ${pkgs.copyPathToStore ./logo.png} $out/logo.png
'';
in
{
"_default" = {
listen = [
{ addr = "0.0.0.0"; port = 80; }
@ -21,15 +28,12 @@
};
"pdxdestiny.com" = {
enableACME = true; # Enable Let's Encrypt certificate for HTTPS
forceSSL = false; # Redirect HTTP to HTTPS?
addSSL = true;
root = pkgs.runCommand "pdxdestiny-web" {} ''
mkdir -p $out
cp ${./pdxdestiny/index.html} $out/index.html
cp ${pkgs.copyPathToStore ./logo.png} $out/logo.png
'';
enableACME = true;
forceSSL = false;
addSSL = true;
root = pdxDestinyRoot;
};
"fbksdigital.com" = {
enableACME = true; # Enable Let's Encrypt certificate for HTTPS
forceSSL = false; # Redirect HTTP to HTTPS?