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
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
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
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
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
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
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
___
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;
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
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
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;
11 matches
Mail list logo