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
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