Welcome! Log In Create A New Profile

Advanced

redirect 301 alias domain

March 03, 2014 10:43AM
hi,

i want to do a 301 redirect on all my alias domain for a domain

but i stuck in an infinite loop!

server{
listen 80;
server_name www.aaa.com www.aa.com ...
return 301 http://www.bbb.com$request_uri;

}

server{
listen 80;
server_name www.bbb.com
...
....

}

how to solve this ?

thanks,
bye

proxmox : CT Debian : nginx
Subject Author Posted

redirect 301 alias domain

zuckbin March 03, 2014 10:43AM

Re: redirect 301 alias domain

Francis Daly March 03, 2014 11:38AM

Re: redirect 301 alias domain

Maxim Dounin March 03, 2014 11:48AM

Re: redirect 301 alias domain

zuckbin March 04, 2014 06:10AM

Re: redirect 301 alias domain

Francis Daly March 04, 2014 07:16AM

Re: redirect 301 alias domain

zuckbin March 04, 2014 08:27AM

Re: redirect 301 alias domain

zuckbin March 04, 2014 08:30AM

Re: redirect 301 alias domain

Francis Daly March 04, 2014 02:50PM

Re: redirect 301 alias domain

zuckbin March 05, 2014 03:18AM

Re: redirect 301 alias domain

Francis Daly March 05, 2014 08:02AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 67
Record Number of Users: 5 on July 11, 2016
Record Number of Guests: 271 on July 19, 2016
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready