mirror of
https://github.com/YunoHost-Apps/nextcloud_ynh.git
synced 2024-09-03 19:55:57 +02:00
Merge pull request #488 from nicofrand/nicofrand/json-requests-wrongfully-484
This commit is contained in:
commit
2e5b71deff
1 changed files with 1 additions and 4 deletions
|
@ -8,7 +8,7 @@ location ^~ /.well-known {
|
||||||
|
|
||||||
location = /.well-known/carddav { return 301 __PATH__/remote.php/dav/; }
|
location = /.well-known/carddav { return 301 __PATH__/remote.php/dav/; }
|
||||||
location = /.well-known/caldav { return 301 __PATH__/remote.php/dav/; }
|
location = /.well-known/caldav { return 301 __PATH__/remote.php/dav/; }
|
||||||
|
|
||||||
location = /.well-known/webfinger { return 301 __PATH__/index.php$uri; }
|
location = /.well-known/webfinger { return 301 __PATH__/index.php$uri; }
|
||||||
location = /.well-known/nodeinfo { return 301 __PATH__/index.php$uri; }
|
location = /.well-known/nodeinfo { return 301 __PATH__/index.php$uri; }
|
||||||
|
|
||||||
|
@ -62,9 +62,6 @@ location ^~ __PATH__/ {
|
||||||
# always provides the desired behaviour.
|
# always provides the desired behaviour.
|
||||||
index index.php index.html __PATH__/index.php$request_uri;
|
index index.php index.html __PATH__/index.php$request_uri;
|
||||||
|
|
||||||
# Default Cache-Control policy
|
|
||||||
expires 1m;
|
|
||||||
|
|
||||||
# Rule borrowed from `.htaccess` to handle Microsoft DAV clients
|
# Rule borrowed from `.htaccess` to handle Microsoft DAV clients
|
||||||
location = __PATH__/ {
|
location = __PATH__/ {
|
||||||
if ( $http_user_agent ~ ^DavClnt ) {
|
if ( $http_user_agent ~ ^DavClnt ) {
|
||||||
|
|
Loading…
Add table
Reference in a new issue