Answer the question
In order to leave comments, you need to log in
How to set up node paired with nginx?
Starting from the beginning: There is a server on nginx (ubuntu 16.04), on which I need to run separate pages on node.js
The problem is that the whole site is written on basic html + css pages, this thing works on port 443, in fact, ssl certificates already work too, and normal, signed by the certificate authority.
But node only manages to run on a separate port 3000 using standard http, which doesn't work for me. I want to run node pages on native port 443, with certificates already configured and simple html pages. How can I solve this problem?
If you look at one particular example, then I need to organize work with the vk callback api, which requires normal ssl certificates, and will not send anything to :30000. What should I do in this case? VK simply will not send to: 3000 nothing.
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question