PROPFIND - http-request deny unless METH_GET


#1

Hello,

Is there a PROPFIND filter for HAProxy?
I’d like to add this usefull filter from docu: http-request deny unless METH_GET or METH_POST or METH_OPTIONS
and add soemthing like … or METH_PROFIND (for OWN- or NEXTCLOUD/WEBDAV).

thank you for help


#2

Its not predefined, but you can just match it with “method”.

We can then just define our own ACL METH_PROPFIND in the frontend configuration, making METH_PROPFIND work as you’d expect:
acl METH_PROPFIND method PROPFIND


#3

Hello Lukas,

this works.
Thank you very much.

Kind regards,
Christoph