From 466bb07d12467a321447b1c74e898c35a11c5b34 Mon Sep 17 00:00:00 2001 From: Mayeul Cantan Date: Wed, 18 Jan 2023 16:21:40 +0100 Subject: [PATCH] nginx.conf: support PATCH method --- conf/nginx.conf | 3 +++ 1 file changed, 3 insertions(+) diff --git a/conf/nginx.conf b/conf/nginx.conf index 2678d48..17a1159 100644 --- a/conf/nginx.conf +++ b/conf/nginx.conf @@ -123,6 +123,9 @@ location ^~ __PATH__/ { if ($request_method ~ ^DELETE$) { rewrite ^ __PATH__/index.php$request_uri last; } + if ($request_method ~ ^PATCH$) { + rewrite ^ __PATH__/index.php$request_uri last; + } try_files $uri / __PATH__/index.php$request_uri; }