Hi, Its if ( $http_user_agent = "BLABLA" ){ break; } Thanks for the reply. Posted at Nginx Forum: http://forum.nginx.org/read.php?2,156771,157267#msg-157267