summaryrefslogtreecommitdiff
path: root/etc
diff options
context:
space:
mode:
authorZuul <zuul@review.opendev.org>2021-04-13 01:42:12 +0000
committerGerrit Code Review <review@openstack.org>2021-04-13 01:42:12 +0000
commite8580f03465a3a8c64477e669c650e7b1eede897 (patch)
tree6b629fcafeeac934c862f0ef0d420eecf4aa69d5 /etc
parentc0fad7714e1c0221b15c8cf3d5f4aa74f18b2f33 (diff)
parente35365df512bade4ff03360e2f2c69ffc4b326be (diff)
downloadswift-e8580f03465a3a8c64477e669c650e7b1eede897.tar.gz
Merge "s3api: Add config option to return 429s on ratelimit"
Diffstat (limited to 'etc')
-rw-r--r--etc/proxy-server.conf-sample5
1 files changed, 5 insertions, 0 deletions
diff --git a/etc/proxy-server.conf-sample b/etc/proxy-server.conf-sample
index 434ed9c62..d0bc1caae 100644
--- a/etc/proxy-server.conf-sample
+++ b/etc/proxy-server.conf-sample
@@ -635,6 +635,11 @@ use = egg:swift#s3api
# the allowed origins must be set cluster-wide. (default: blank; all
# preflight requests will be denied)
# cors_preflight_allow_origin =
+#
+# AWS will return a 503 Slow Down when clients are making too many requests,
+# but that can make client logs confusing if they only log/give metrics on
+# status ints. Turn this on to return 429 instead.
+# ratelimit_as_client_error = false
# You can override the default log routing for this filter here:
# log_name = s3api