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 hby neophyte - Nginx Mailing List - English
Even when I add_before_body on every individual server it still gives me "Input file not specified"by neophyte - Nginx Mailing List - English
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 directory would be different for each server because of file indention of websites with specific settingby neophyte - Nginx Mailing List - English
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.by neophyte - Nginx Mailing List - English
I've swapped to using /. https://gist.github.com/anonymous/423cbe11f91e4d342dd6 - My comf.by neophyte - Nginx Mailing List - English
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 included fine, and displays the HTML.by neophyte - Nginx Mailing List - English