337 current 2025-10-11 20:25:59 25.05.20251006.20c4598 6.12.50 *
This commit is contained in:
@@ -31,12 +31,6 @@ in
|
|||||||
];
|
];
|
||||||
|
|
||||||
# static entries
|
# 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}" = {
|
services.nginx.virtualHosts."key.${homelab.public_domain}" = {
|
||||||
forceSSL = true;
|
forceSSL = true;
|
||||||
sslCertificate = sec."ssl_blakedheld_crt".path;
|
sslCertificate = sec."ssl_blakedheld_crt".path;
|
||||||
|
|||||||
Reference in New Issue
Block a user