redirecting non www to www.
ianevans at digitalhit.com
ianevans at digitalhit.com
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 example.com request to www.example.com and
b) where would it go in the order of the locations:
location / {
...
}
location ~* ^.+\.(jpg|jpeg|gif|png|ico|css|js|mov)$ {
...
}
Thanks.
--
Ian Evans
More information about the nginx
mailing list