I installed version 29 and clicked on the file to view it, but it turned into downloading, which is weird.

Thanks for your reply. I think you are right. I modified:
vi /usr/local/nginx/conf/mime.types
application/javascript js;

changed to:
application/javascript js mjs;
This should solve the problem. I share it with you, hoping it can solve the problem you encounter.

1 Like