Yuvipanda has uploaded a new change for review.
https://gerrit.wikimedia.org/r/178135
Change subject: dynamicproxy: Make no user agent 403 more verbose
......................................................................
dynamicproxy: Make no user agent 403 more verbose
Change-Id: Id0b61ab2b96d4eaf810b3116e91230cd3d80067e
---
M modules/dynamicproxy/templates/urlproxy.conf
1 file changed, 1 insertion(+), 1 deletion(-)
git pull ssh://gerrit.wikimedia.org:29418/operations/puppet
refs/changes/35/178135/1
diff --git a/modules/dynamicproxy/templates/urlproxy.conf
b/modules/dynamicproxy/templates/urlproxy.conf
index 83ced67..5e1df52 100644
--- a/modules/dynamicproxy/templates/urlproxy.conf
+++ b/modules/dynamicproxy/templates/urlproxy.conf
@@ -72,7 +72,7 @@
# Block requests with no UA string
if ($http_user_agent = "") {
- return 403;
+ return 403 "Requests must have a user agent";
}
# Block crawlers that do not behave well
--
To view, visit https://gerrit.wikimedia.org/r/178135
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: Id0b61ab2b96d4eaf810b3116e91230cd3d80067e
Gerrit-PatchSet: 1
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: Yuvipanda <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits