SSL issues and solutions
If your website is going to serve secure web pages, you need to somehow allow visitors to connect to your infrastructure via SSL on port 443. Two solutions are possible at this point: either you do not make use of Nginx at all and keep your Apache SSL configuration unmodified, or you configure Nginx to accept communications on port 443.
The first solution is clearly the simplest—do not change the port of your virtual hosts, as configured in Apache. Your website should still be fully accessible from the outside, unless your backend server is hosted on another computer on the local network.
The alternative is to configure Nginx to accept secure connections via the SSL module, as described in Chapter 5, PHP and Python ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access