69 lines
1.6 KiB
INI
Raw Normal View History

2024-06-21 21:27:22 -04:00
global
log stdout format raw local0
# stats socket /run/haproxy/admin.sock mode 660 level admin expose-fd listeners
stats timeout 30s
defaults
log global
mode http
retries 3
maxconn 2000
2024-06-21 21:27:22 -04:00
timeout connect 5s
timeout client 50s
timeout server 50s
2024-06-21 21:27:22 -04:00
timeout http-request 10s
timeout http-keep-alive 2s
timeout queue 5s
timeout tunnel 2m
timeout client-fin 1s
timeout server-fin 1s
2024-06-21 21:27:22 -04:00
#Application Setup
frontend ContentSwitching
bind *:80
bind *:443 ssl crt /etc/ssl/certs/cloudflare.pem
mode http
# tmmworkshop.com
acl host_mirror hdr(host) -i mirror.tmmworkshop.com
acl host_dndrules hdr(host) -i dndrules.tmmworkshop.com
acl host_grafana hdr(host) -i grafana.tmmworkshop.com
2024-06-22 12:28:09 -04:00
acl host_filebrowser hdr(host) -i filebrowser.tmmworkshop.com
acl host_uptime_kuma hdr(host) -i uptimekuma-jeeves.tmmworkshop.com
2024-08-11 18:25:11 -04:00
acl host_overseerr hdr(host) -i overseerr.tmmworkshop.com
2024-06-21 21:27:22 -04:00
use_backend mirror_nodes if host_mirror
use_backend dndrules_nodes if host_dndrules
use_backend grafana_nodes if host_grafana
2024-06-22 12:28:09 -04:00
use_backend filebrowser_nodes if host_filebrowser
2024-07-05 10:49:52 -04:00
use_backend uptime_kuma_nodes if host_uptime_kuma
2024-08-11 18:25:11 -04:00
use_backend overseerr_nodes if host_overseerr
2024-06-21 21:27:22 -04:00
backend mirror_nodes
mode http
server server arch_mirror:80
backend mirror_rsync
mode http
server server arch_mirror:873
backend grafana_nodes
mode http
server server grafana:3000
backend dndrules_nodes
mode http
server server dnd_file_server:80
2024-06-22 12:28:09 -04:00
backend filebrowser_nodes
mode http
server server filebrowser:8080
2024-07-05 10:49:52 -04:00
backend uptime_kuma_nodes
mode http
2024-07-05 10:55:12 -04:00
server server uptime_kuma:3001
2024-08-11 18:25:11 -04:00
backend overseerr_nodes
mode http
server server overseerr:5055