February 2018
Beginner to intermediate
348 pages
9h 40m
English
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 ...