## 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
1 year 2020-08-31T10:10:25-05:00 0 Answers 60 views 0