I use Cloudflare.
In rules I have this rule:
It forces a URL to prepend "www", and return that URL in the browser. Has worked well for years on a Nginx server.
However, using OLS, the prepend is stripped.
In Virtual Hosts Configuration:
- the VIRTUAL HOST NAME is set as "somesite.com".
- the DOMAIN NAME is set to "www.somesite.com"
Restarted, doesn't work.
What am I doing wrong?
In rules I have this rule:
Code:
somesite.com/*
Forwarding URL (Status Code: 301 - Permanent Redirect, Url: https://www.somesite.com/$1)
However, using OLS, the prepend is stripped.
In Virtual Hosts Configuration:
- the VIRTUAL HOST NAME is set as "somesite.com".
- the DOMAIN NAME is set to "www.somesite.com"
Restarted, doesn't work.
What am I doing wrong?