mirror of
https://github.com/RichieCahill/dotfiles.git
synced 2026-04-17 13:08:19 -04:00
moved haproxy to a service
This commit is contained in:
8
systems/jeeves/services/haproxy.nix
Normal file
8
systems/jeeves/services/haproxy.nix
Normal file
@@ -0,0 +1,8 @@
|
||||
{
|
||||
networking.firewall.allowedTCPPorts = [ 80 443 ];
|
||||
|
||||
services.haproxy = {
|
||||
enable = true;
|
||||
config = builtins.readFile ./haproxy.cfg;
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user