aboutsummaryrefslogtreecommitdiff
path: root/README
diff options
context:
space:
mode:
Diffstat (limited to 'README')
-rw-r--r--README4
1 files changed, 2 insertions, 2 deletions
diff --git a/README b/README
index 18e8653..30140c4 100644
--- a/README
+++ b/README
@@ -31,8 +31,8 @@ An example of using this module:
}
sub vcl_recv {
- set resp.http.x-real-ip = remoteip.get(resp.http.X-Forwarded-For);
- if (std.ip(resp.http.x-real-ip) ~ allowed) {
+ set req.http.x-real-ip = remoteip.get(req.http.X-Forwarded-For);
+ if (std.ip(req.http.x-real-ip) ~ allowed) {
...
}
}

Return to:

Send suggestions and report system problems to the System administrator.