add www.philippeterson

This commit is contained in:
Philip Peterson 2026-05-05 01:39:13 -08:00
parent aed3fa1e4d
commit b9b282fde8

View file

@ -48,6 +48,18 @@
}; };
}; };
"www.philippeterson.com" = {
enableACME = true;
forceSSL = false;
addSSL = true;
locations."/" = {
extraConfig = ''
return 301 https://philippeterson.com$request_uri;
'';
};
};
"philippeterson.com" = { "philippeterson.com" = {
enableACME = true; # Enable Let's Encrypt certificate for HTTPS enableACME = true; # Enable Let's Encrypt certificate for HTTPS
forceSSL = false; # Redirect HTTP to HTTPS? forceSSL = false; # Redirect HTTP to HTTPS?