Re: redirect 301 alias domain

2014-03-05 Thread zuckbin
i don't understand why you said that is not the good conf file is used ? how do you know this ? Posted at Nginx Forum: http://forum.nginx.org/read.php?2,248038,248123#msg-248123 ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/l

Re: redirect 301 alias domain

2014-03-04 Thread zuckbin
i forgot to say that i used pound on my server before to send traffic to nginx Maybe, there is a conflict with it Posted at Nginx Forum: http://forum.nginx.org/read.php?2,248038,248071#msg-248071 ___ nginx mailing list nginx@nginx.org http://mailman.n

Re: redirect 301 alias domain

2014-03-04 Thread zuckbin
curl -i "http://www.aaa.com/"; HTTP/1.1 301 Moved Permanently Server: nginx Date: Tue, 04 Mar 2014 13:25:24 GMT Content-Type: text/html Content-Length: 178 Connection: keep-alive Keep-Alive: timeout=5 Location: http://www.aaa.com/ 301 Moved Permanently 301 Moved Permanently nginx Posted at Ng

Re: redirect 301 alias domain

2014-03-04 Thread zuckbin
i got this error The page isn't redirecting properly in firebug i can see this many times: GET www.aaa.com 301 Moved Permanently aaa.com it seem this is not redirect well Posted at Nginx Forum: http://forum.nginx.org/read.php?2,248038,248068#msg-248068 ___

server block conflict

2014-03-04 Thread zuckbin
hi, got multiples server block for different domains, but it seem for fastcgi_param PHP_VALUE; they are in conflict all together here an exemple: server{ server_name aaa; ... location ~ \.php$ { try_files $uri =404; fastcgi_split_path

Re: vbulletin vbseo rewrite rule

2014-03-04 Thread zuckbin
i try this and it doesn't work for me. maybe because i got some custom urls in vbseo. and why all my urls are with httpS ?! boring... Posted at Nginx Forum: http://forum.nginx.org/read.php?2,248039,248062#msg-248062 ___ nginx mailing list nginx@ngin

vbulletin vbseo rewrite rule

2014-03-03 Thread zuckbin
hi, i try to convert theses rules from apache for vbseo vbulletin, but got 404 errors How to convert theses rules for nginx ? RewriteEngine On RewriteBase /forum/ RewriteRule ^[^/]+/.+-([0-9]+)\.html$ vbseo.php?vbseourl=showthread.php&t=$1 [L] RewriteRule ^((urllist|sitemap_).*\.(xml|txt)(\.g

redirect 301 alias domain

2014-03-03 Thread zuckbin
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

nginx as reverse-proxy for apache inside a VM

2014-01-30 Thread zuckbin
Hi, I really don't know to solve this: http://forum.proxmox.com/threads/17680-nginx-apache I got a 504 Gateway time-out error I use proxmox as hypervisor, inside a CT, i want to use nginx as reverse proxy for static content I got apache listen on port 8080 and nginx on 80, when i browse my url,