the new node project is very simple, just
app.post ("/ upload", router.doPost);
app.get ("/ getat", router.doGetAT);
actually wants to expose these two interfaces.
my public network ip of Aliyun is http://112.74.191.12. I deployed a project before, and now I access it through" http://112.74.191.12/getat. My local test is good:
pm2:
what should I do now? Thank you for your advice.
it seems that nginx? should be used. I don"t quite understand. How should I configure it?