nestjs pm2 启动 静态文件404报错

不要直接使用pm2 start 可执行文件,静态文件会显示404.

使用如下方式:

 

原文地址:https://www.cnblogs.com/mengfangui/p/12074508.html