# In your apache Non-SSL-Site.conf, # with Redirect / Rewrite enabled RedirectMatch 301 ^/(.*)$ https://example.com/$1