Aaron Schulz has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/106637


Change subject: Added a [filter:tempurl] section to the swift proxy
......................................................................

Added a [filter:tempurl] section to the swift proxy

* We do not need to allow PUT request temp URLs

Change-Id: Id5783851ac46e6a9f393da2187841750375e52a1
---
M templates/swift/proxy-server.conf.erb
1 file changed, 3 insertions(+), 0 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/operations/puppet 
refs/changes/37/106637/1

diff --git a/templates/swift/proxy-server.conf.erb 
b/templates/swift/proxy-server.conf.erb
index 01ec1ab..4d2e961 100644
--- a/templates/swift/proxy-server.conf.erb
+++ b/templates/swift/proxy-server.conf.erb
@@ -75,3 +75,6 @@
 
 paste.filter_factory = wmf.rewrite:filter_factory
 
+[filter:tempurl]
+# Default includes PUT, which is a bit scary and not useful for wmf
+methods = GET HEAD

-- 
To view, visit https://gerrit.wikimedia.org/r/106637
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: Id5783851ac46e6a9f393da2187841750375e52a1
Gerrit-PatchSet: 1
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: Aaron Schulz <[email protected]>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to