30 lines
578 B
INI
30 lines
578 B
INI
global
|
|
daemon
|
|
maxconn 256
|
|
log stdout format raw daemon debug
|
|
|
|
defaults
|
|
mode http
|
|
timeout connect 5000ms
|
|
timeout client 50000ms
|
|
timeout server 50000ms
|
|
log global
|
|
|
|
frontend https-in
|
|
bind *:443 ssl crt /certs/combined.pem
|
|
acl host_gitea hdr_beg(host) -i git
|
|
acl host_plex hdr_beg(host) -i tv
|
|
use_backend gitea if host_gitea
|
|
use_backend plex if host_plex
|
|
default_backend static-content
|
|
|
|
|
|
backend static-content
|
|
server server1 static:80 maxconn 32
|
|
|
|
backend gitea
|
|
server gitea1 garage-nas:3000 maxconn 16
|
|
|
|
backend plex
|
|
server plex1 garage-nas:32400 maxconn 16
|