mirror of
https://github.com/element-hq/ess-helm.git
synced 2026-11-30 13:52:56 -08:00
haproxy: 429 as json
This commit is contained in:
2 files changed
+3
-4
No files matched your search
@@ -20,13 +20,11 @@ data:
|
||||
HTTP/1.0 429 Too Many Requests
|
||||
Cache-Control: no-cache
|
||||
Connection: close
|
||||
Content-Type: text/html
|
||||
Content-Type: application/json
|
||||
access-control-allow-origin: *
|
||||
access-control-allow-methods: GET, POST, PUT, DELETE, OPTIONS
|
||||
access-control-allow-headers: Origin, X-Requested-With, Content-Type, Accept, Authorization
|
||||
|
||||
<html><body><h1>429 Too Many Requests</h1>
|
||||
No server is available to handle this request.
|
||||
</body></html>
|
||||
{"errcode":"M_UNKNOWN","error":"Server is unavailable"}
|
||||
{{- end -}}
|
||||
{{- end -}}
|
||||
@@ -0,0 +1 @@
|
||||
HAProxy: Return 429 error code as Matrix Json format.
|
||||
Reference in new issue
Block a user