Browse Source

Update nginx.conf

pull/382/head
Thomas 5 years ago
committed by GitHub
parent
commit
721be928f0
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 3
      conf/nginx.conf

3
conf/nginx.conf

@ -12,6 +12,9 @@ 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/; }
# Anything else is dynamically handled by Nextcloud
location ^~ /.well-known { return 301 /nextcloud/index.php$uri; }
try_files $uri $uri/ =404; try_files $uri $uri/ =404;
} }

Loading…
Cancel
Save