337 current 2025-10-11 20:25:59 25.05.20251006.20c4598 6.12.50 *
This commit is contained in:
@@ -1,6 +1,6 @@
|
|||||||
# flake for blakes nixos config
|
# flake for blakes nixos config
|
||||||
# define new devices in outputs
|
# define new devices in outputs
|
||||||
# generation: 336 current 2025-10-11 20:24:22 25.05.20251006.20c4598 6.12.50 *
|
# generation: 337 current 2025-10-11 20:25:59 25.05.20251006.20c4598 6.12.50 *
|
||||||
{
|
{
|
||||||
description = "blakes nix config";
|
description = "blakes nix config";
|
||||||
inputs = {
|
inputs = {
|
||||||
|
|||||||
@@ -31,6 +31,12 @@ 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