Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- client_max_body_size 512M;
- client_body_timeout 300s;
- fastcgi_buffers 64 4K;
- location ^~ /.well-known {
- # The rules in this block are an adaptation of the rules
- # in `.htaccess` that concern `/.well-known`.
- location = /.well-known/carddav { return 301 /remote.php/dav/; }
- location = /.well-known/caldav { return 301 /remote.php/dav/; }
- location /.well-known/acme-challenge { try_files $uri $uri/ =404; }
- location /.well-known/pki-validation { try_files $uri $uri/ =404; }
- # Let Nextcloud's API for `/.well-known` URIs handle all other
- # requests by passing them to the front-end controller.
- return 301 /index.php$request_uri;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement