fix(haproxy): denied pad root path

darta 2022-01-24 08:16:14 +01:00
parent a6b675c5f7
commit 6bf0f24cef
1 changed files with 3 additions and 0 deletions

View File

@ -49,6 +49,9 @@ frontend website
acl is_api hdr_beg(host) api.
acl is_admin hdr_beg(host) admin.
acl is_root path -i /
http-request deny if is_pad is_root
use_backend letsencrypt if { path_beg /.well-known/acme-challenge/ }
use_backend be_api if is_nextcloud { path_beg /avatar/ }
use_backend be_nextcloud if is_nextcloud