mirror of
https://github.com/hoellen/dockerfiles.git
synced 2025-04-20 04:19:18 +00:00
Merge pull request #16 from waja/service_discovery
Add missing service discovery in nginx config
This commit is contained in:
commit
0d1c2cc723
@ -20,6 +20,10 @@ server {
|
|||||||
access_log off;
|
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 {
|
location = /.well-known/carddav {
|
||||||
return 301 https://$host/remote.php/dav;
|
return 301 https://$host/remote.php/dav;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user