337 current 2025-10-11 20:25:59 25.05.20251006.20c4598 6.12.50 *

This commit is contained in:
2025-10-11 21:49:41 -05:00
parent ddeef85822
commit c7e81bdc6a
2 changed files with 7 additions and 1 deletions

View File

@@ -31,6 +31,12 @@ in
];
# static entries
services.nginx.virtualHosts."${homelab.public_domain}" = {
locations."/" = {
locations."/".proxyPass = "http://localhost:8080"; # Proxy to your backend
locations."*".return = "301 https://www.youtube.com/watch?v=dQw4w9WgXcQ"; # Redirect to YouTube video
};
};
services.nginx.virtualHosts."key.${homelab.public_domain}" = {
forceSSL = true;
sslCertificate = sec."ssl_blakedheld_crt".path;