Using pm2+nginx to deploy node project (https), can only access the welcome page of nginx through the domain name?

first of all, my express project is running on port 3000, and my nginx configuration is as follows:

clipboard.png


nginx:

clipboard.png

I don"t know much about nginx, and ask the boss who knows it to take a look at it. Thank you!

Nov.04,2021

first of all, I would like to thank Tencent Cloud's staff for being so efficient! Because I did not configure root, that is, the website static resource directory, so I can not access my website, plus root!


if you add a prefix to location/, such as kk, can you still access routing information normally? you can try. I have this problem at present

.
MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1e478bf-44c57.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1e478bf-44c57.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?