Files
dotfiles/systems/jeeves/web_services/haproxy.nix
T
2026-06-22 19:48:53 -04:00

15 lines
298 B
Nix

{
networking.firewall.allowedTCPPorts = [
80
443
];
# Global robots.txt served by HAProxy for every vhost (see haproxy.cfg).
environment.etc."haproxy/robots.txt".source = ./robots.txt;
services.haproxy = {
enable = true;
config = builtins.readFile ./haproxy.cfg;
};
}