fix(haproxy): denied pad root path
parent
a6b675c5f7
commit
6bf0f24cef
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue