Re: NGINX Proxy pass replace PNG file

2022-06-23 Thread Ian Hobson
Hi, I would try this with a location block... location /URL/of/Picture/tobereplaced.png { root /var/www/test1; try_files where/stored/image1.png; } location / { continue to proxy pass everything else Hope this helps Ian On 24/06/2022 00:01, Jason Prouty wrote: Is it possible to

NGINX Proxy pass replace PNG file

2022-06-23 Thread Jason Prouty
Is it possible to replace an PNG file with a local image I want to reverse proxy to site and then change the image returned I have tried the sub_filter setting but nothing changes. server { server_name test1.example1.com; location /{ proxy_ssl_server_name on; proxy_pass https://te