Welcome! Log In Create A New Profile

Advanced

Nginx reverse proxy image not loading

aRaviNd
August 05, 2016 06:52AM
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
_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

Nginx reverse proxy image not loading

aRaviNd August 05, 2016 06:52AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 171
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready