redirect 301 alias domain
francis at daoine.org
Tue Mar 4 12:15:41 UTC 2014
On Tue, Mar 04, 2014 at 06:10:31AM -0500, zuckbin wrote:
> in firebug i can see this many times:
> GET www.aaa.com 301 Moved Permanently aaa.com
> it seem this is not redirect well
This seems to say the when you ask for http://www.aaa.com/, you are
redirected to http://aaa.com/.
The config fragment you provided showed that you should be redirected to
I suspect that the config fragment you provided is not the relevant part
of the configuration file that is actually being used by nginx.
The output of "curl -i http://www.aaa.com/" will probably be useful to
see if your nginx is being used at all.
Francis Daly francis at daoine.org
More information about the nginx