symfony

A collection of 4 posts
How to set REMOTE_ADDR from HTTP_X_ORIGINAL_FORWARDED_FOR header when going through EZOIC proxy cache
kubernetes

How to set REMOTE_ADDR from HTTP_X_ORIGINAL_FORWARDED_FOR header when going through EZOIC proxy cache

Prerequisites: * kubernetes ingress * your varnish proxy cache * Symfony PHP application 1. Edit your global Kubernetes Ingress Config Map in namespace ingress-nginx named nginx-configuration [https://rancher2.exploit.cz/p/local:p-mt7fw/config-maps/ingress-nginx:nginx-configuration] and add use-forwarded-headers: true 2. In your Varnish proxy in section sub vcl_recvadd if (req.http.
1 min read