As there are two variables in http core module: $request_uri This variable is equal to the *original* request URI as received from the client including the args. It cannot be modified. Look at $uri for the post-rewrite/altered URI. $uri This variable is equal to current URI in the request (without arguments, those are in $args.) It can differ from $request_uri which is what is sent by theby elmo1349 - Nginx Mailing List - English
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 } }by elmo1349 - Nginx Mailing List - English
Is these any variable just like the IS_SUBREQ Flag in apache? http://httpd.apache.org/docs/2.2/mod/mod_rewrite.html IS_SUBREQ Will contain the text "true" if the request currently being processed is a sub-request, "false" otherwise. Sub-requests may be generated by modules that need to resolve additional files or URIs in order to complete their tasks.by elmo1349 - Nginx Mailing List - English
How can I check a request is subrequest or not at the config files?by elmo1349 - Nginx Mailing List - English