diff --git a/shopware/fastly-meta/6.4/config/fastly/recv/default.vcl b/shopware/fastly-meta/6.4/config/fastly/recv/default.vcl index 1f74fc8..9b52588 100644 --- a/shopware/fastly-meta/6.4/config/fastly/recv/default.vcl +++ b/shopware/fastly-meta/6.4/config/fastly/recv/default.vcl @@ -44,9 +44,9 @@ set req.url = querystring.sort(req.url); # Make sure that the client ip is forward to the client. if (req.http.x-forwarded-for) { - set req.http.X-Forwarded-For = req.http.X-Forwarded-For + ", " + client.ip; + set req.http.X-Forwarded-For = req.http.X-Forwarded-For + ", " + req.http.Fastly-Client-IP; } else { - set req.http.X-Forwarded-For = client.ip; + set req.http.X-Forwarded-For = req.http.Fastly-Client-IP; } # Don't cache Authenticate & Authorization