Answer the question
In order to leave comments, you need to log in
How to set up https on apache+nginx?
Apache+Nginx.
Worth OpenSSL.
In apache config:
ssl.conf:
Listen 443 https
<VirtualHost _default_:443>
</VirtualHost>
httpd.conf: Listen 127.0.0.1:8888
set $proxyserver "http://127.0.0.1:8888";
Listen 127.0.0.1.443 https
<VirtualHost 127.0.0.1:443>
</VirtualHost>
httpd.conf: Listen 8888
set $proxyserver "https://127.0.0.1:443";
Answer the question
In order to leave comments, you need to log in
No need to configure https on apache.
Set it to nginx only, and work with apache through proxy_pass.
It's even easier to completely abandon Apache.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question