HTTPS port

Let's consider a scenario where we are serving a website or a few pages on a website over an encrypted secure connection using secure HTTP or HTTPS. We can outsource the encryption and decryption work to the Squid proxy server, which can handle HTTPS requests. So, when we configure Squid to accept HTTPS connections or requests, it'll decrypt the requests and forward the unencrypted requests to the web server.

Note

Please note that we should use the --enable-ssl option with the configure program before compiling, if we want Squid to accept HTTPS requests. Also note that several operating systems don't provide packages capable of HTTPS reverse-proxy due to GPL and policy constraints.

HTTPS options in reverse proxy mode

Let's have a look at ...

Get Squid Proxy Server 3.1 Beginner's Guide now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.