From 16e9fdda9dfde78bebc03147f8d3372e7d133240 Mon Sep 17 00:00:00 2001 From: Warren Baker Date: Tue, 27 Aug 2013 18:36:43 +0200 Subject: Fix config syntax problem --- config/varnish3/varnish.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'config') 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"; -- cgit v1.2.3