This commit is contained in:
parent
2d67609eca
commit
012a291e28
@ -33,8 +33,8 @@ server {
|
||||
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.json https://$server_name/public.php?service=host-meta-json last;
|
||||
rewrite ^/.well-known/webfinger https://$server_name/public.php?service=webfinger last;
|
||||
rewrite ^/.well-known/nodeinfo https://$server_name/public.php?service=nodeinfo last;
|
||||
rewrite ^/.well-known/webfinger https://$server_name/index.php$uri last;
|
||||
rewrite ^/.well-known/nodeinfo https://$server_name/index.php$uri last;
|
||||
rewrite ^(/core/doc/[^\/]+/)$ $1/index.html;
|
||||
try_files $uri $uri/ index.php;
|
||||
}
|
||||
@ -58,7 +58,7 @@ server {
|
||||
try_files $1 =404;
|
||||
}
|
||||
|
||||
location ~* .(png|ico|gif|jpg|jpeg|css|js|svg)$ {
|
||||
location ~* .(png|ico|gif|jpg|jpeg|css|mjs|js|svg)$ {
|
||||
expires 2d;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user