Update varnish/default.vcl
This commit is contained in:
@@ -175,6 +175,8 @@ sub vcl_deliver {
|
|||||||
unset resp.http.Via;
|
unset resp.http.Via;
|
||||||
unset resp.http.X-Varnish;
|
unset resp.http.X-Varnish;
|
||||||
unset resp.http.Server;
|
unset resp.http.Server;
|
||||||
|
unset resp.http.Content-disposition;
|
||||||
|
|
||||||
set resp.http.X-Frame-Options = "SAMEORIGIN";
|
set resp.http.X-Frame-Options = "SAMEORIGIN";
|
||||||
|
|
||||||
if (resp.status == 403 || resp.status == 404 || resp.status == 500 || resp.status == 503) {
|
if (resp.status == 403 || resp.status == 404 || resp.status == 500 || resp.status == 503) {
|
||||||
|
|||||||
Reference in New Issue
Block a user