add_before_body

2018-03-06 Thread li...@lazygranch.com
I can't get the add_before_body feature to work. I have verified the module is installed. Here is what I am trying to accomplish. I want to add the following lines to the header of every html file: -- This is sup

Re: add_before_body

2015-03-05 Thread itpp2012
neophyte Wrote: --- > Even when I add_before_body on every individual server it still gives > me "Input file not specified" This message is a PHP message, you have a php location block somewhere trying to run a php script and fai

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

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

Re: add_before_body

2015-03-04 Thread Francis Daly
On Wed, Mar 04, 2015 at 05:30:22PM -0500, neophyte wrote: Hi there, > 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. I'm afraid that I have failed to understand what you w

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

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 ___

Re: add_before_body

2015-03-04 Thread Francis Daly
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;

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

Re: add_before_body

2015-03-04 Thread Francis Daly
On Wed, Mar 04, 2015 at 11:33:50AM -0500, neophyte wrote: Hi there, > I'm trying to use the add_before_body in nginx.comf, The documentation is at http://nginx.org/r/add_before_body > add_before_body > \subsites\dropletlocal\library\global\func-global.class.php; > > Af

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;