1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/nextcloud_ynh.git synced 2024-09-03 19:55:57 +02:00

Merge branch 'PATCH-verb' of https://github.com/MayeulC/nextcloud_ynh into pr/549

This commit is contained in:
Éric Gaspar 2023-01-28 17:52:13 +01:00
commit c4b43f0add

View file

@ -117,13 +117,7 @@ location ^~ __PATH__/ {
}
location ~ / {
if ($request_method ~ ^PUT$) {
rewrite ^ __PATH__/index.php$request_uri last;
}
if ($request_method ~ ^DELETE$) {
rewrite ^ __PATH__/index.php$request_uri last;
}
if ($request_method ~ ^PATCH$) {
if ($request_method ~ ^(PUT|DELETE|PATCH)$) {
rewrite ^ __PATH__/index.php$request_uri last;
}
try_files $uri / __PATH__/index.php$request_uri;