不要直接使用pm2 start 可执行文件,静态文件会显示404.
使用如下方式:
nestjs pm2 启动 静态文件404报错
原文:https://www.cnblogs.com/mengfangui/p/12074508.html