aboutsummaryrefslogtreecommitdiffstats
path: root/config/varnish3
diff options
context:
space:
mode:
authorWarren Baker <warren@decoy.co.za>2013-08-27 18:36:43 +0200
committerWarren Baker <warren@decoy.co.za>2013-08-27 18:36:43 +0200
commit16e9fdda9dfde78bebc03147f8d3372e7d133240 (patch)
treedad099e6d565acdd68d7add4ee827872c115c4ce /config/varnish3
parentf560df8e347ddfef3345517fd3c3cc2fbb7b40f5 (diff)
downloadpfsense-packages-16e9fdda9dfde78bebc03147f8d3372e7d133240.tar.gz
pfsense-packages-16e9fdda9dfde78bebc03147f8d3372e7d133240.tar.bz2
pfsense-packages-16e9fdda9dfde78bebc03147f8d3372e7d133240.zip
Fix config syntax problem
Diffstat (limited to 'config/varnish3')
-rw-r--r--config/varnish3/varnish.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/config/varnish3/varnish.inc b/config/varnish3/varnish.inc
index fea68b81..4adf0575 100644
--- a/config/varnish3/varnish.inc
+++ b/config/varnish3/varnish.inc
@@ -448,7 +448,7 @@ function sync_package_varnish() {
$vcl_recv_set_basic .= "\tset req.http.X-Forwarded-For = client.ip;\n\n";
break;
case 'append':
- $vcl_recv_set_basic .= "\tset req.http.X-Forwarded-For = req.http.X-Forwarded-For , client.ip;\n\n";
+ $vcl_recv_set_basic .= "\tset req.http.X-Forwarded-For = req.http.X-Forwarded-For + \",\" + client.ip;\n\n";
break;
case 'create':
$vcl_recv_set_basic .= "\tset req.http.X-Forwarded-Varnish = client.ip;\n\n";