Answer the question
In order to leave comments, you need to log in
How to handle ssl on both nginx and apach?
Good evening)
Please help me understand how to configure nginx and apache so that you can enter ssl certificates there and there.
Now it turns out that port 443 is processed by apache and when setting up nginx, listening to 443 for a certain domain with its own settings does not work.
there are different resources and one of them with a working certificate on Apache - there is also a resource being processed by nginx, it is not possible to make a certificate there
Answer the question
In order to leave comments, you need to log in
Leave nginx as a frontend, and transfer apache as a backend and proxy the necessary traffic from nginx to apache.
And SSL certificates are universal - they can be used everywhere after adjusting the formats.
I would advise using nginx + php-fpm in general, it will be even faster
nginx 80 --> 82 apache
nginx+ssl 443 -> 4443 apache +ssl
nginx 80 --> 82 apache
nginx+ssl 443 -> 80 apache + эмулировать что это https
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question