Security

How to Fix the Error: This Page Is Not Secure Because of Mixed Content

Insecure resources warning in Chrome

You have just switched your site from HTTP to HTTPS but your browser is displaying mixed content warnings. I’ll tell you how to handle this situation.

Why Else You Need HTTPS

komelin.com https lock in address bar

Everybody knows what the green lock in the browser address bar means. Briefly, it means security. But what if you have nothing to secure? What if you do not sell anything through your site and do not store any private data of your users. Well, it is in your interests to enable HTTPS, anyway. In this post, I will give you four reasons why.

HTTPS with Varnish

As you probably know, Varnish does not support SSL/TLS. This fact could mean for many people that their sites, which use Varnish as a proxy cache, would remain without HTTPS forever. It is not as bad as it sounds because you are now going to learn how to work out a solution.

Nginx is a really useful software because it can play multiple roles at once. You know that it is a quite efficient web server but it can work as a proxy server as well. In our case, it will become our SSL Termination Proxy.