F
F
FulTupFul2018-07-19 13:59:18
Nginx
FulTupFul, 2018-07-19 13:59:18

Deploying an Express server with nginx?

How to deploy an Express server so that nginx would proxy requests, as I understand it, you need to separately run the nginx http server on port 80 and the expresss server on the local port 127.0.0.1:3000 and proxy requests, but this does not work. I tried to use this guide but it doesn't work - https://gist.github.com/tomasevich/a2fe588c451c5a1...
It gives a 404 error for any of my requests

Answer the question

In order to leave comments, you need to log in

1 answer(s)
R
RidgeA, 2018-07-19
@FulTupFul

https://www.digitalocean.com/community/tutorials/h...
PM2 can be skipped

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question