Hello, I'm trying to have nginx proxy for apache while trying to utilize sub_filter.<br><br>My default.conf block with the modules listed above looks like this:<br><br>server {<br> location / {<br> proxy_pass <a href="http://127.0.0.1:8080">http://127.0.0.1:8080</a>;<br>
proxy_set_header Host $host;<br> proxy_set_header X-Real-IP $remote_addr;<br> sub_filter_once on;<br> sub_filter '</body>' '<p>filter test12345</p></body>';<br>
}<br>}<br><br>With this, I can remove either the proxy_pass line or the sub_filter line and<br>the other will work. It seems to only stop working when I try to have both<br>active at the same time. I did have a look around regarding this issue and have<br>
disabled gzip, but to no avail. Does anyone have any insight towards this issue?<br><br>Thank you.<br>