Hi,
Can anyone help me with this?
I'm trying to rewrite non-www to www
I already have this in the nginx.conf Customization (custom 3) box to rewrite http to https
|*if SSL_TEMPLATE="0"|
rewrite ^(.*)$ https://www.example.com$1 permanent;
|*endif|
But now I also want to rewrite https://example.com to https://www.example.com
I tried some different configurations, but no success so far.
Can anyone help me with this?
I'm trying to rewrite non-www to www
I already have this in the nginx.conf Customization (custom 3) box to rewrite http to https
|*if SSL_TEMPLATE="0"|
rewrite ^(.*)$ https://www.example.com$1 permanent;
|*endif|
But now I also want to rewrite https://example.com to https://www.example.com
I tried some different configurations, but no success so far.