2011年2月17日星期四

Re: remove www from the url

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


_______________________________________________
nginx mailing list
nginx@nginx.org
http://nginx.org/mailman/listinfo/nginx

没有评论:

发表评论