remove www from the url
Dayo
nginx-forum at nginx.us
Thu Feb 17 18:34:23 MSK 2011
Jim Ohlstein Wrote:
> Not to be *too* pedantic, but unless you are using
> both http and https,
> using $scheme is unnecessary. I only use it for
> such situations. Without
> having read the code (not that I'd likely
> understand it anyway), and
> Igor can comment on this, it would seem a waste.
A bit too pedantic I think as you will note that the examples do not
include the "listen" directive .... I.E. not sure if he is putting it
into the http or https sections so "$scheme" gives flexibility in
answering.
Posted at Nginx Forum: http://forum.nginx.org/read.php?2,176137,176161#msg-176161
More information about the nginx
mailing list