Change all SSL sites on this server to use HSTS

By mattstauffer // 2 years ago
HSTS is a setting you can enable on your SSL-enabled domains to ensure browsers will never connect to the non-secured version of your web site.

If you run this script, it will enable HSTS on all of your SSL-secured domains.

I've tested this on a few Tighten servers and so far it's worked, but please know this is just me writing this as best as I can.


Design © 2024. ForgeRecipes loves you.

Site maintained by Vince Mitchell.

Inspired by original by David Hemphill, Tanner Hearne, & Matt Stauffer.