mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-01-11 10:21:02 +01:00
Create nginx_addition
This commit is contained in:
23
nextcloud/rootfs/defaults/nginx_addition
Normal file
23
nextcloud/rootfs/defaults/nginx_addition
Normal file
@@ -0,0 +1,23 @@
|
||||
location = /.well-known/host-meta {
|
||||
return 301 $scheme://$http_hostpublic.php?service=host-meta;
|
||||
}
|
||||
|
||||
location = /.well-known/host-meta.json {
|
||||
return 301 $scheme://$http_host/public.php?service=host-meta-json;
|
||||
}
|
||||
|
||||
location = /.well-known/carddav {
|
||||
return 301 $scheme://$http_host/remote.php/dav;
|
||||
}
|
||||
|
||||
location = /.well-known/caldav {
|
||||
return 301 $scheme://$http_host/remote.php/dav;
|
||||
}
|
||||
|
||||
location = /.well-known/webfinger{
|
||||
return 301 $scheme://$http_host/index.php/.well-known/webfinger;
|
||||
}
|
||||
|
||||
location = /.well-known/nodeinfo{
|
||||
return 301 $scheme://$http_host/index.php/.well-known/nodeinfo;
|
||||
}
|
||||
Reference in New Issue
Block a user