diff --git a/conf/nginx.conf b/conf/nginx.conf index d2ba9b0..d8c5a82 100644 --- a/conf/nginx.conf +++ b/conf/nginx.conf @@ -118,7 +118,7 @@ location ^~ __PATH__/ { index index.php; } - location ~ \.(?:css|js|svg|gif|png|jpg|ico|wasm|tflite|map)$ { + 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` access_log off; # Optional: Don't log access to assets