bunkerweb/core/misc/confs/server-http/allowed-methods.conf
2022-06-03 17:24:14 +02:00

5 lines
110 B
Plaintext

{% if ALLOWED_METHODS != "" +%}
if ($request_method !~ ^({{ ALLOWED_METHODS }})$) {
return 405;
}
{% endif %}