1
0
Fork 0

migrate blarm to x86, enable firewall

This commit is contained in:
Philipp 2025-05-08 09:59:28 +02:00
parent dc33352e5f
commit 7d8e0da9ec
Signed by: Philipp
GPG key ID: 9EBD8439AFBAB750
3 changed files with 86 additions and 8 deletions

View file

@ -15,6 +15,11 @@ in
};
config = mkIf cfg.enable {
networking.firewall.allowedTCPPorts = [
1338
8686
];
services.caddy = {
enable = true;
virtualHosts = {
@ -24,11 +29,6 @@ in
file_server
'';
};
":1339" = {
extraConfig = ''
reverse_proxy 192.168.1.241:3080
'';
};
":8686" = {
extraConfig = ''
root * /var/lib/caddy/cinny