Re: add_before_body

2015-03-04 Thread neophyte
worker_processes 8; events { worker_connections 1024; } http { gzip off; root htdocs; add_before_body subsites/dropletlocal/library/global/func-global.class.php; #DOESN'T add_before_body subsites/dropletlocal/library/global/test.html;

Re: add_before_body

2015-03-04 Thread neophyte
Even when I add_before_body on every individual server it still gives me "Input file not specified" Posted at Nginx Forum: http://forum.nginx.org/read.php?2,257054,257062#msg-257062 ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailma

Re: add_before_body

2015-03-04 Thread neophyte
Let me clear that up, I need add_before_body /subsites/dropletlocal/library/global/func-global.class.php; to work on every site that is hosted, I can't manually add every block or I'd have to do it for over 500 websites, intern taking too long and too much downtime, also I can't because the direct

Re: add_before_body

2015-03-04 Thread neophyte
I can't manually add it to each file because I use a include *.comf, I just need Nginx to perform add_before_body without it being in each server block. Posted at Nginx Forum: http://forum.nginx.org/read.php?2,257054,257059#msg-257059 ___ nginx mailing

Re: add_before_body

2015-03-04 Thread neophyte
I've swapped to using /. https://gist.github.com/anonymous/423cbe11f91e4d342dd6 - My comf. Posted at Nginx Forum: http://forum.nginx.org/read.php?2,257054,257057#msg-257057 ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinf

add_before_body

2015-03-04 Thread neophyte
Hey! I'm trying to use the add_before_body in nginx.comf, add_before_body \subsites\dropletlocal\library\global\func-global.class.php; After I add it all the sites display a "No input file specified.". If I use: add_before_body \subsites\dropletlocal\library\global\test.html; The file gets in