Commit 70f69b28ea0bbd3f5433e2db1c6bda6733225758
1 parent
43562836
Exists in
master
and in
27 other branches
Adapt varnish config files to new config version
Showing
2 changed files
with
2 additions
and
2 deletions
Show diff stats
etc/noosfero/varnish-accept-language.vcl
... | ... | @@ -186,7 +186,7 @@ sub vcl_recv { |
186 | 186 | |
187 | 187 | sub vcl_fetch { |
188 | 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 | 190 | } else { |
191 | 191 | set beresp.http.Vary = "X-Varnish-Accept-Language"; |
192 | 192 | } | ... | ... |
etc/noosfero/varnish-noosfero.vcl
... | ... | @@ -45,7 +45,7 @@ sub vcl_error { |
45 | 45 | <div id='wrap'> |
46 | 46 | <div id='header'> |
47 | 47 | <div id='logo'> </div> |
48 | - <div id='details'><b>"} obj.status "</b> - " obj.response {"</div> | |
48 | + <div id='details'><b>"} + obj.status + "</b> - " + obj.response + {"</div> | |
49 | 49 | </div> |
50 | 50 | |
51 | 51 | <div id='de' style='display: none' class='message'> | ... | ... |