Faidon Liambotis has uploaded a new change for review.
https://gerrit.wikimedia.org/r/167632
Change subject: upload: add X-Content-Duration to CORS exposed headers
......................................................................
upload: add X-Content-Duration to CORS exposed headers
Change-Id: I75ba126e24b978fd2d688da0979ccdc0e6932a7e
---
M templates/varnish/upload-frontend.inc.vcl.erb
1 file changed, 1 insertion(+), 1 deletion(-)
git pull ssh://gerrit.wikimedia.org:29418/operations/puppet
refs/changes/32/167632/1
diff --git a/templates/varnish/upload-frontend.inc.vcl.erb
b/templates/varnish/upload-frontend.inc.vcl.erb
index 3e37127..62257d9 100644
--- a/templates/varnish/upload-frontend.inc.vcl.erb
+++ b/templates/varnish/upload-frontend.inc.vcl.erb
@@ -117,5 +117,5 @@
}
set resp.http.Access-Control-Allow-Origin = "*";
- set resp.http.Access-Control-Expose-Headers = "Age, Content-Length,
Date, X-Cache, X-Varnish";
+ set resp.http.Access-Control-Expose-Headers = "Age, Date,
Content-Length, X-Content-Duration, X-Cache, X-Varnish";
}
--
To view, visit https://gerrit.wikimedia.org/r/167632
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: I75ba126e24b978fd2d688da0979ccdc0e6932a7e
Gerrit-PatchSet: 1
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: Faidon Liambotis <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits