F
F
Floydreme2019-07-30 00:36:12
Node.js
Floydreme, 2019-07-30 00:36:12

Node.js in ISPManager?

Hello, I have a question. I made a website, and I need to publish it to the hosting (Timeweb). Since the customer will make changes to it himself, a graphical panel is needed, so ISPManager was installed with Ubuntu. However, when I downloaded the site sources, the redirect does not work for different pages, giving nginx errors.
Do I understand correctly that on VDS you need to install node.js in the console (so that there is a redirect to pages and work with the database) + configure nginx? If I'm wrong about something, I'll be glad to know my mistake, because I've never been involved in setting up a site on a hosting. Thanks

Answer the question

In order to leave comments, you need to log in

2 answer(s)
F
Floydreme, 2019-08-03
@FloydReme

Made. My solution described in the question turned out to be correct

[
[email protected], 2020-01-19
@tjoBiZ

A little different, this approach will work, but it is crooked.
Preliminary, certain settings are required in the ISPManager panel, you need to have a lot of knowledge and experience in administering this architecture in order to do this correctly (so that backups are made from under a separate user and so that all this can be played together with other projects on PHP frameworks). So I definitely did everything right and nothing interferes, and I have node.js as an additional application to the eCommerce CMS, which uses a shared database + is protected from hacking through the "proxy approach", setting up Iptables and a bunch of other pitfalls - such as jambs with automatic receipt of SSL certificates. Of course, developing many applications in JavaScript with node.js is a pleasure compared to the PHP backend,
And so it took a huge amount of hours to achieve a professional result.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question