updated nginx state
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Paul 2024-05-01 10:56:27 +02:00
parent 2d67609eca
commit 012a291e28

View File

@ -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;
}