add_before_body

neophyte nginx-forum at nginx.us
Thu Mar 5 00:02:19 UTC 2015


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;     
                  #WORKS
	include       mime.types;
        include       web-hosting/*.conf;
}

I don't understand how come html works fine but php wont?

Posted at Nginx Forum: http://forum.nginx.org/read.php?2,257054,257063#msg-257063



More information about the nginx mailing list