Can you post your VCL? There's a vmod to pass True-Client-Ip through. On Tuesday, 14 April 2015, Bertrand Caplet <[email protected]> wrote:
> Hey guys, > I set varnish behind a nginX proxy few days ago. > I want to be able to purge varnish only from the machine where it's > hosted but because there is a nginx reverse proxy in front of it, > varnish thinks it's coming from 127.0.0.1 so basically whatever the > client is, anyone can purge the cache. > By the way I set some rules for varnish to know x-forwarded-for = > client.ip. > > Do you know how can I change that? > > Thanks in advance, > -- > CHUNKZ.NET - script kiddie and computer technician > Bertrand Caplet, Flers (FR) > Feel free to send encrypted/signed messages > Key ID: 37F70C30 > GPG FP: 134A 4027 518B 5F4D D409 558D BA9B 7BF0 37F7 0C30 > > > --
_______________________________________________ varnish-misc mailing list [email protected] https://www.varnish-cache.org/lists/mailman/listinfo/varnish-misc
