mirror of
https://github.com/nextcloud/documentation.git
synced 2025-10-26 11:18:02 +00:00
parent
948655d672
commit
30526d8a6f
@ -65,12 +65,14 @@ your nginx installation.
|
||||
#rewrite ^/.well-known/host-meta /public.php?service=host-meta last;
|
||||
#rewrite ^/.well-known/host-meta.json /public.php?service=host-meta-json
|
||||
# last;
|
||||
|
||||
location = /.well-known/carddav { return 301
|
||||
$scheme://$host/remote.php/dav; }
|
||||
location = /.well-known/caldav { return 301
|
||||
$scheme://$host/remote.php/dav; }
|
||||
|
||||
|
||||
location = /.well-known/carddav {
|
||||
return 301 $scheme://$host/remote.php/dav;
|
||||
}
|
||||
location = /.well-known/caldav {
|
||||
return 301 $scheme://$host/remote.php/dav;
|
||||
}
|
||||
|
||||
location /.well-known/acme-challenge { }
|
||||
|
||||
# set max upload size
|
||||
@ -97,12 +99,10 @@ your nginx installation.
|
||||
location ~ ^/(?:\.|autotest|occ|issue|indie|db_|console) {
|
||||
deny all;
|
||||
}
|
||||
|
||||
location ~
|
||||
^/(?:index|remote|public|cron|core/ajax/update|status|ocs/v[12]|updater
|
||||
/.+|ocs-provider/.+|core/templates/40[34])\.php(?:$|/) {
|
||||
fastcgi_split_path_info ^(.+\.php)(/.*)$;
|
||||
|
||||
location ~ ^/(?:index|remote|public|cron|core/ajax/update|status|ocs/v[12]|updater/.+|ocs-provider/.+|core/templates/40[34])\.php(?:$|/) {
|
||||
include fastcgi_params;
|
||||
fastcgi_split_path_info ^(.+\.php)(/.+)$;
|
||||
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
|
||||
fastcgi_param PATH_INFO $fastcgi_path_info;
|
||||
fastcgi_param HTTPS on;
|
||||
@ -201,12 +201,14 @@ your nginx installation.
|
||||
# last;
|
||||
#rewrite ^/.well-known/host-meta.json
|
||||
# /nextcloud/public.php?service=host-meta-json last;
|
||||
|
||||
location = /.well-known/carddav { return 301
|
||||
$scheme://$host/nextcloud/remote.php/dav; }
|
||||
location = /.well-known/caldav { return 301
|
||||
$scheme://$host/nextcloud/remote.php/dav; }
|
||||
|
||||
|
||||
location = /.well-known/carddav {
|
||||
return 301 $scheme://$host/nextcloud/remote.php/dav;
|
||||
}
|
||||
location = /.well-known/caldav {
|
||||
return 301 $scheme://$host/nextcloud/remote.php/dav;
|
||||
}
|
||||
|
||||
location /.well-known/acme-challenge { }
|
||||
|
||||
location ^~ /nextcloud {
|
||||
@ -236,12 +238,10 @@ your nginx installation.
|
||||
location ~ ^/nextcloud/(?:\.|autotest|occ|issue|indie|db_|console) {
|
||||
deny all;
|
||||
}
|
||||
|
||||
location ~
|
||||
^/nextcloud/(?:index|remote|public|cron|core/ajax/update|status|ocs/v[12]|
|
||||
updater/.+|ocs-provider/.+|core/templates/40[34])\.php(?:$|/) {
|
||||
fastcgi_split_path_info ^(.+\.php)(/.*)$;
|
||||
|
||||
location ~ ^/nextcloud/(?:index|remote|public|cron|core/ajax/update|status|ocs/v[12]|updater/.+|ocs-provider/.+|core/templates/40[34])\.php(?:$|/) {
|
||||
include fastcgi_params;
|
||||
fastcgi_split_path_info ^(.+\.php)(/.+)$;
|
||||
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
|
||||
fastcgi_param PATH_INFO $fastcgi_path_info;
|
||||
fastcgi_param HTTPS on;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user