21 lines
552 B
INI
21 lines
552 B
INI
|
frontend https
|
||
|
mode http
|
||
|
bind *:8000 ssl crt /usr/local/etc/haproxy/combined.pem alpn h2,http/1.1
|
||
|
default_backend backend_client
|
||
|
|
||
|
acl autoupdate path_beg -i /system
|
||
|
use_backend backend_autoupdate if autoupdate
|
||
|
|
||
|
acl server path_beg -i /apps /media/ /rest /server-version.txt
|
||
|
use_backend backend_server if server
|
||
|
|
||
|
stats enable
|
||
|
stats uri /stats
|
||
|
stats refresh 10s
|
||
|
stats auth admin:admin
|
||
|
|
||
|
backend backend_client
|
||
|
mode http
|
||
|
timeout tunnel 1h
|
||
|
server client client:4200 resolvers docker_resolver no-check
|