U
U
Umid2018-09-07 17:36:11
Nginx
Umid, 2018-09-07 17:36:11

How to run nodejs application on nginx?

There is a vps server hosting about 20 sites on nginx.
The server is configured so that one of the folders contains all sites whose name is a domain.
The websites are all written in PHP.
And now, let's say there is a folder called dreamcity.uz, and I want a nodejs site to work on this domain.
I tried to just delete all the php files in this directory, put the nodejs application files there and run them, but the result is the following:
5b928cd5ae938378572783.png

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
Sergey Sokolov, 2018-09-07
@DarCKoder

config example

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question