mirror of
https://github.com/hoellen/dockerfiles.git
synced 2025-05-12 07:09:17 +00:00
Add missing service discovery in nginx config
See https://docs.nextcloud.com/server/15/admin_manual/issues/general_troubleshooting.html#service-discovery Rules as suggest in https://docs.nextcloud.com/server/15/admin_manual/installation/nginx.html
This commit is contained in:
parent
db56b159fd
commit
f9e5ab0beb
@ -20,6 +20,10 @@ server {
|
||||
access_log off;
|
||||
}
|
||||
|
||||
rewrite ^/.well-known/host-meta /public.php?service=host-meta last;
|
||||
rewrite ^/.well-known/host-meta.json /public.php?service=host-meta-json last;
|
||||
rewrite ^/.well-known/webfinger /public.php?service=webfinger last;
|
||||
|
||||
location = /.well-known/carddav {
|
||||
return 301 https://$host/remote.php/dav;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user