Force SSL

Hi -

I think this is a pretty simple question, but is there a way to force non-http requests to redirect to the https url? Or, if not, is there a clear place to put this logic? I use the WP-as-api setup. So the web requests hit node, not PHP.



Hi @mayer.georgep,

Welcome to our Community!

You could use a revere proxy in your main domain to decide what to do on URL requests. With this architecture you could easily redirect to SSL URL’s or any other filter you need to add

Have a look at these related threads:

Hope this helps!