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

.
Menu