Sorry I have forget information !! When I want to restart Nginx I have error : Bender:~# /etc/init.d/nginx restart Restarting nginx: 2009/07/30 18:35:44 2646#0: "if" directive is not allowed here in /etc/nginx/sites-enabled/default:24 nginx. if ( $host ~* "(.*)\.(*\.{2,4})" ) ] Posted at Nginx Forum: http://forum.nginx.org/read.php?2,4619,4627#msg-4627