Reputation: 852
I have a rule setup to redirect all traffic from http to https
How can I also redirect http://www to https://? As far as I can tell the {host} variable contains www and I cant remove it.
Upvotes: 1
Views: 351
Reputation: 2180
In fact it's pretty simple
Instead of writing {host}
in your rule just put the name of your website.
So, for example, it will look like this :
https://example.com:443/#{path}?#{query}
Upvotes: 1