How to inject custom content via Nginx?
I found the way to do this: http://nginx.org/en/docs/http/ngx_http_sub_module.html location / { sub_filter </head> ‘</head><script language=”javascript” src=”https://stackoverflow.com/questions/19700871/$script”></script>’; sub_filter_once on; }