Hi Piotr, I want to define a request in nginx config file, such as, /etc/nginx/nginx.conf. For example: server { if($IS_SUBREQ){ do something } } Posted at Nginx Forum: http://forum.nginx.org/read.php?2,110862,111127#msg-111127