[Rewrite] Url - rewriting

CactO_o's nginx-forum at nginx.us
Thu Jul 30 22:03:04 MSD 2009


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,4626#msg-4626






More information about the nginx mailing list