This commit is contained in:
2026-03-27 09:05:02 -05:00
parent 515792132f
commit 9ae5c8ab6d

View File

@@ -35,6 +35,10 @@ let
http_port 80
https_port 443
default_bind 0.0.0.0
servers {
trusted_proxies 10.0.1.0/8 10.1.1.0/12
}
'';
virtualHosts = {
"*.mjallen.dev" = {
@@ -47,6 +51,27 @@ let
handle @hass {
reverse_proxy http://nuc-nixos.local:8123
}
handle {
respond "Forbidden" 403
}
'';
};
"sonarr.mjallen.dev" = {
extraConfig = ''
@sonarr {
remote_ip 10.0.1.0/24 10.1.1.0/16
host sonarr.mjallen.dev
}
handle @sonarr {
reverse_proxy 10.0.1.3:8989
}
handle {
respond "Forbidden" 403
}
'';
};
};