Add new cnames for proxy

This commit is contained in:
2024-10-20 22:35:04 +02:00
parent c3e37b3661
commit a2db4db09e
3 changed files with 21 additions and 4 deletions

View File

@@ -1,3 +1,6 @@
{ pkgs, config, ... }:
{
imports = [
./proxy.nix
];
}

View File

@@ -0,0 +1,11 @@
{ pkgs, ... }:
{
services.caddy = {
enable = true;
configFile = pkgs.writeText "Caddyfile" ''
http://nzbget.t-juice.club {
reverse_proxy http://10.69.12.51:6789
}
'';
};
}