On Wed, Mar 04, 2015 at 04:51:43PM -0500, neophyte wrote: Hi there,
> I've swapped to using /. > https://gist.github.com/anonymous/423cbe11f91e4d342dd6 - My comf. That is: """ http { add_before_body /subsites/dropletlocal/library/global/func-global.class.php; server { server_name localhost; location / { root htdocs/subsites/dropletlocal; index proxy.php; } location ~ \.php$ { root htdocs/subsites/dropletlocal; fastcgi_pass 127.0.0.1:9000; fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name; include fastcgi_params; } } server { server_name ***.es.vc; location / { root htdocs/subsites/***; index index.php; } location ~ \.php$ { root htdocs/subsites/***; fastcgi_pass 127.0.0.1:9000; fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name; include fastcgi_params; } } } """ more or less. So, what do you want nginx to do with your add_before_body subrequest? As in: which file on the filesystem do you want the fastcgi processor to read? Possibly you will want to add something like location = /subsites/dropletlocal/library/global/func-global.class.php { fastcgi_pass 127.0.0.1:9000; fastcgi_param SCRIPT_FILENAME _the_file_that_you_care_about_; include fastcgi_params; } to each server block; possibly something else will work. Good luck with it, f -- Francis Daly fran...@daoine.org _______________________________________________ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx