Add some doumentation.
This commit is contained in:
parent
3c226fe56b
commit
85ac4a80d6
@ -185,6 +185,25 @@ server {
|
|||||||
access_log off; # Optional: Don't log access to assets
|
access_log off; # Optional: Don't log access to assets
|
||||||
}
|
}
|
||||||
|
|
||||||
|
# Service Discovery
|
||||||
|
#
|
||||||
|
# !! we already configured this service inside 'location ~ \.php(?:\$|/) {' !!
|
||||||
|
#
|
||||||
|
# The redirects for CalDAV or CardDAV does not work if Nextcloud is running behind a
|
||||||
|
# reverse proxy. The recommended solution is that your reverse proxy does the redirects
|
||||||
|
#
|
||||||
|
#rewrite ^/\.well-known/carddav https://\$server_name/remote.php/dav/ redirect;
|
||||||
|
#rewrite ^/\.well-known/caldav https://\$server_name/remote.php/dav/ redirect;
|
||||||
|
#
|
||||||
|
# or alternativ
|
||||||
|
#
|
||||||
|
#location /.well-known/carddav {
|
||||||
|
# return 301 \$scheme://\$host/remote.php/dav;
|
||||||
|
#}
|
||||||
|
#location /.well-known/caldav {
|
||||||
|
# return 301 \$scheme://\$host/remote.php/dav;
|
||||||
|
#}
|
||||||
|
|
||||||
location / {
|
location / {
|
||||||
try_files $uri $uri/ /index.php$request_uri;
|
try_files $uri $uri/ /index.php$request_uri;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user