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:
commit
c4b43f0add
1 changed files with 1 additions and 7 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Reference in a new issue