Commit 70f69b28ea0bbd3f5433e2db1c6bda6733225758

Authored by Rodrigo Souto
1 parent 43562836

Adapt varnish config files to new config version

etc/noosfero/varnish-accept-language.vcl
@@ -186,7 +186,7 @@ sub vcl_recv { @@ -186,7 +186,7 @@ sub vcl_recv {
186 186
187 sub vcl_fetch { 187 sub vcl_fetch {
188 if (beresp.http.Vary) { 188 if (beresp.http.Vary) {
189 - set beresp.http.Vary = beresp.http.Vary ", X-Varnish-Accept-Language"; 189 + set beresp.http.Vary = beresp.http.Vary + ", X-Varnish-Accept-Language";
190 } else { 190 } else {
191 set beresp.http.Vary = "X-Varnish-Accept-Language"; 191 set beresp.http.Vary = "X-Varnish-Accept-Language";
192 } 192 }
etc/noosfero/varnish-noosfero.vcl
@@ -45,7 +45,7 @@ sub vcl_error { @@ -45,7 +45,7 @@ sub vcl_error {
45 <div id='wrap'> 45 <div id='wrap'>
46 <div id='header'> 46 <div id='header'>
47 <div id='logo'>&nbsp;</div> 47 <div id='logo'>&nbsp;</div>
48 - <div id='details'><b>"} obj.status "</b> - " obj.response {"</div> 48 + <div id='details'><b>"} + obj.status + "</b> - " + obj.response + {"</div>
49 </div> 49 </div>
50 50
51 <div id='de' style='display: none' class='message'> 51 <div id='de' style='display: none' class='message'>