Exploit.cz
  • 🍕 Recepty.eu
  • 🛠️ Lidl Tools
  • 👑 Curriculum vitae 👑
  • LinkedIn Profile
  • Github Profile

ezoic

A collection of 1 post
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.
Mar 8, 2020 — 1 min read
Exploit.cz © 2023
Powered by Ghost