Answer the question
In order to leave comments, you need to log in
How to properly configure SSL with a reverse proxy server?
Hello.
I've never set up HTTPS myself, so I had a question that I couldn't quickly google.
How to configure correctly - do I need 2 certificates, one for nginx, the second for backend?
I looked at several tutorials about Nginx, Node, SSL - they only write about setting up nginx, but nothing about Node.
Answer the question
In order to leave comments, you need to log in
Do you have the backend on the same machine? Then why do you need ssl between front and back?
No, a certificate is not needed on the back.
If you have them on different servers and communicate with each other over the network, then you may need to encrypt their communication, but again, it’s better to connect them via VPN and you won’t need it on the back.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question