mirror of
https://github.com/YunoHost-Apps/nextcloud_ynh.git
synced 2024-09-03 19:55:57 +02:00
nginx.conf: support PATCH method
This commit is contained in:
parent
2741a052b3
commit
466bb07d12
1 changed files with 3 additions and 0 deletions
|
@ -123,6 +123,9 @@ location ^~ __PATH__/ {
|
||||||
if ($request_method ~ ^DELETE$) {
|
if ($request_method ~ ^DELETE$) {
|
||||||
rewrite ^ __PATH__/index.php$request_uri last;
|
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;
|
try_files $uri / __PATH__/index.php$request_uri;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue