feat: Test tailscale caddy domains
This commit is contained in:
parent
5008dadfe6
commit
62e746487e
2 changed files with 14 additions and 2 deletions
|
@ -19,8 +19,11 @@
|
|||
|
||||
package = pkgs.caddy.withPlugins {
|
||||
# https://github.com/NixOS/nixpkgs/pull/358586#issuecomment-2564016652
|
||||
plugins = [ "github.com/caddy-dns/cloudflare@v0.2.1" ];
|
||||
hash = "sha256-saKJatiBZ4775IV2C5JLOmZ4BwHKFtRZan94aS5pO90=";
|
||||
plugins = [
|
||||
"github.com/caddy-dns/cloudflare@v0.2.1"
|
||||
"github.com/tailscale/caddy-tailscale@v0.0.0-20250207163903-69a970c84556"
|
||||
];
|
||||
hash = "sha256-cJt3jDXdWsSK5z9yqpUR6hwfxAySVopxmqsm/TVnFIA=";
|
||||
};
|
||||
|
||||
virtualHosts = {
|
||||
|
|
|
@ -47,6 +47,15 @@
|
|||
@local remote_ip private_ranges 100.64.0.0/10
|
||||
reverse_proxy @local :${toString config.services.radarr.settings.server.port}
|
||||
'';
|
||||
"sonarr.server.tail195a8.ts.net".extraConfig = ''
|
||||
@local remote_ip private_ranges 100.64.0.0/10
|
||||
tls {
|
||||
get_certificate tailscale
|
||||
}
|
||||
|
||||
reverse_proxy @local :${toString config.services.sonarr.settings.server.port}
|
||||
'';
|
||||
|
||||
"http://sonarr.internal".extraConfig = ''
|
||||
@local remote_ip private_ranges 100.64.0.0/10
|
||||
reverse_proxy @local :${toString config.services.sonarr.settings.server.port}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue