Yuvipanda has submitted this change and it was merged.

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(-)

Approvals:
  Yuvipanda: Looks good to me, approved
  jenkins-bot: Verified



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: merged
Gerrit-Change-Id: Id0b61ab2b96d4eaf810b3116e91230cd3d80067e
Gerrit-PatchSet: 1
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: Yuvipanda <[email protected]>
Gerrit-Reviewer: Rillke <[email protected]>
Gerrit-Reviewer: Yuvipanda <[email protected]>
Gerrit-Reviewer: jenkins-bot <>

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

Reply via email to