Include order and variables definition in configuration

B.R. reallfqq-nginx at yahoo.fr
Mon Feb 24 22:39:39 UTC 2014


Hello,

I am considering the following configuration:
server {
    include fastcgi.conf # Default configuration coming with a Debian
package which contains a definition of the SCRIPT_FILENAME FastCGI variable
with $document_root$fastcgi_script_name as its value
...
    location ~^/index\.php {
        fastcgi_split_path_info ^(/index\.php)(/.*)$;
    }
}

​Will the FastCGI SCRIPT_FILENAME variable value take into account the
value of $fastcgi_script_name after fastcgi_split_path_info has been called
or will it be resolved when the fastcgi.conf file is included?
---
*B. R.*
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.nginx.org/pipermail/nginx/attachments/20140224/fb4ee96b/attachment-0001.html>


More information about the nginx mailing list