This commit is contained in:
parent
e69766cded
commit
c806c42340
@ -33,8 +33,9 @@ server {
|
|||||||
rewrite ^/.well-known/webdav(.*)$ https://$server_name/remote.php/webdav$1 redirect;
|
rewrite ^/.well-known/webdav(.*)$ https://$server_name/remote.php/webdav$1 redirect;
|
||||||
rewrite ^/.well-known/host-meta https://$server_name/public.php?service=host-meta last;
|
rewrite ^/.well-known/host-meta https://$server_name/public.php?service=host-meta last;
|
||||||
rewrite ^/.well-known/host-meta.json https://$server_name/public.php?service=host-meta-json last;
|
rewrite ^/.well-known/host-meta.json https://$server_name/public.php?service=host-meta-json last;
|
||||||
rewrite ^/.well-known/webfinger https://$server_name/index.php$uri last;
|
rewrite ^/.well-known/webfinger https://$server_name/index.php$uri permanent;
|
||||||
rewrite ^/.well-known/nodeinfo https://$server_name/index.php$uri last;
|
rewrite ^/.well-known/nodeinfo https://$server_name/index.php$uri last;
|
||||||
|
rewrite ^/ocm-provider https://$server_name/index.php$uri last;
|
||||||
rewrite ^(/core/doc/[^\/]+/)$ $1/index.html;
|
rewrite ^(/core/doc/[^\/]+/)$ $1/index.html;
|
||||||
try_files $uri $uri/ index.php;
|
try_files $uri $uri/ index.php;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user