NGINX rewrite rules for sub subdomains

Question

I was wondering if it’s possible to set-up an NGINX rewrite rule for a WordPress Multisite that redirects anyone using the following: www.sub.domain.com to sub.domain.com.

The issue we seem to be having and our web host isn’t being helpful with is that their free SSL certs don’t cover sub subomains and so I’m wondering if we can set-up a rewrite/redirect that looks like this:

www.sub.domain.com redirects to sub.domain.com without us getting the “Your connection is not secure/private” message?

0
, , Jen 3 months 0 Answers 51 views 0

Leave an answer