Using nginx's error_page
directive we can support SSL over both :80
and :443
Some intrusive firewalls, ISPs, companies, and ``Anti-virus'' programs attempt to intercept SSL connections on :443
. Some of these programs even offer their own certificate, in order to perform MiTM attacks. In more extreme cases, connections may be entirely blocked on :443
.
By allowing SSL connections on :80
, users with these threats may still access the server securely.
Using nginx's