So, I have always had dreampress with SSL and cloudflare. Up until about late August I used to have real IP addresses of clients in my logs. Since then I only see the Cloudflare Addresses.
Now Dreampress includes Varnish (the awesome reverse proxy that caches pages in memory), now Varnish doesn’t natively Cache with SSL and it didn’t on my site until about late August Early September. I was very happy to see the varnish cache headers in my responses. But then I discovered the logging issue.
A popular way of getting Varnish cache to work with SSL is to put up nginx in front of Varnish to grab the HTTPS call, then send an HTTP request to varnish which then can handle caching the request.
I have a feeling that Dreampress added the nginx layer but didn’t set up the Module ngx_http_realip_module in nginx as shown here https://support.cloudflare.com/hc/en-us/articles/200170706-How-do-I-restore-original-visitor-IP-with-Nginx-.
I’ve had various support tickets about this and they keep blaming wordpress. I’ve written a php page that is outside the wordpress framework and that page still has the same issue. Considering wordpress isn’t at all involved with calling that page it completely eliminates wordpress from the equation. Support keeps trying to punt and I’m at a loss.
Anyone else have a similar problem or know how dreampress is set up to get SSL (https) to play with varnish? The nginx is just an assumption on my part.