1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/nextcloud_ynh.git synced 2024-09-03 19:55:57 +02:00

Update nginx.conf

This commit is contained in:
Éric Gaspar 2023-10-29 18:38:13 +01:00
parent d7d24bd648
commit 91c059acd7

View file

@ -126,7 +126,8 @@ location ^~ __PATH__/ {
try_files $uri/ =404;
index index.php;
}
# Serve static files
location ~ \.(?:css|js|mjs|svg|gif|png|jpg|ico|wasm|tflite|map)$ {
try_files $uri / __PATH__/index.php$request_uri;
expires 6M; # Cache-Control policy borrowed from `.htaccess`