simplest method to strip "www." from Host field then HTTPS redirect
Hey folks, my requirements are simple:
If the Host header in the HTTP request starts with “www.”, strip “www.” then redirect to HTTPS.
If “www.” is not in the Host header, preserve the Hos...