F
F
fomenko_alexandr2017-05-10 19:52:42
Node.js
fomenko_alexandr, 2017-05-10 19:52:42

Is it possible to run php scripts and node.js on digitalocean on the same droplet?

Hello masters. Please tell me if it is possible to run node.js (specifically ghost cms) and php scripts on one digitalocean droplet, only on different subdomains. If yes, please tell me how. I would really appreciate a link to the manual.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
S
Sergey Sokolov, 2017-05-10
@sergiks

Let, for example, nginx listen for incoming requests and proxy them to nodejs on a local port, say, 54321, for one domain, and for another, give static or proxy requests to php in php-fpm.
And, yes, DigitalOcean will pull all this perfectly.

E
Erelecano Oioraen, 2017-05-10
@Erelecano

Can. I allow. And how is Google to help you. You can also launch a browser there if you really want to, as well as all the services that you come up with.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question