How do I add text to a response from a remote URL in NGINX?

moyamos nginx-forum at
Wed Sep 2 13:11:39 UTC 2020

Hi Reinis and Francis,

Thanks for your hands. 

I resolved the issue. I've moved before_body.txt and after_body.txt to
another domain without https forced redirect. It works fine with a simple
proxy_pass even over https.

Thanks for all your help.

Best regards

Posted at Nginx Forum:,289227,289286#msg-289286

More information about the nginx mailing list