I think I'm doing something wrong on my settings when I'm running my WordPress behind Varnish.
I have my settings as 'From behind a reverse proxy' but it doesnt seem to be working as I'd expect.
For example -
1. I deliberately locked out my (non-existent) admin account from my office pc, I then tried to login using my ipad on wifi with my real id and it was also locked out - implying that the 127.0.0.1 (localhost/Varnish) address was locked out and not the real ip iof my office pc.
2. About 50% of the time that I look at it, the settings page is telling me that 'It appears the site is reached directly (from your IP: 127.0.0.1)' and 'Current setting appears to be invalid'
Any ideas? am I missing the point?