diff --git a/conf/nginx.conf b/conf/nginx.conf index 5fb848f..36de478 100644 --- a/conf/nginx.conf +++ b/conf/nginx.conf @@ -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`