Nginx reverse proxy image not loading

aRaviNd ambadiaravind at gmail.com
Fri Aug 5 10:34:00 UTC 2016


Hi All,

I am trying to configure Nginx as a reverse proxy for one of the web
servers. Web application is working fine but dynamic images are not
loading, graphs are configured as img_src with an http url. On the web
server I am seeing error "Critical: Malicious cross-site request forgery
detected". Nginx is configured with below set headers

proxy_set_header HOST $host;

proxy_set_header X-Forwarded-Proto $scheme;

proxy_set_header X-Real-IP $remote_addr;

proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;

Could you please help me why images are not loading.

- Aravind
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.nginx.org/pipermail/nginx/attachments/20160805/57cf33de/attachment.html>


More information about the nginx mailing list