migrate blarm to x86, enable firewall
This commit is contained in:
parent
dc33352e5f
commit
7d8e0da9ec
3 changed files with 86 additions and 8 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue