Advertisement
Guest User

Untitled

a guest
Jan 3rd, 2023
432
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.67 KB | None | 0 0
  1. client_max_body_size 512M;
  2. client_body_timeout 300s;
  3. fastcgi_buffers 64 4K;
  4.  
  5. location ^~ /.well-known {
  6. # The rules in this block are an adaptation of the rules
  7. # in `.htaccess` that concern `/.well-known`.
  8.  
  9. location = /.well-known/carddav { return 301 /remote.php/dav/; }
  10. location = /.well-known/caldav { return 301 /remote.php/dav/; }
  11.  
  12. location /.well-known/acme-challenge { try_files $uri $uri/ =404; }
  13. location /.well-known/pki-validation { try_files $uri $uri/ =404; }
  14.  
  15. # Let Nextcloud's API for `/.well-known` URIs handle all other
  16. # requests by passing them to the front-end controller.
  17. return 301 /index.php$request_uri;
  18. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement