redirecting non www to www.

ianevans at ianevans at
Mon Jan 15 02:12:07 MSK 2007

Just trying to clean things up for Google's duplicate issues...this might
be a basic example to toss in the rewrite module part of the wiki for
people who suck at regex's like me. <g>

So a) who would you redirect a request to and
b) where would it go in the order of the locations:

location / {

location ~* ^.+\.(jpg|jpeg|gif|png|ico|css|js|mov)$ {


Ian Evans

More information about the nginx mailing list