diff options
author | Neil Alexander <neilalexander@users.noreply.github.com> | 2020-09-03 10:12:11 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-09-03 10:12:11 +0100 |
commit | 74743ac8ae3cc439862acd15d13ba4123d745598 (patch) | |
tree | 879ff4fca4ae2025b3e57cce8ba060c0fd1b0f73 /build/scripts | |
parent | d64d0c4be2ab33185b6dd837944dea3268b62c24 (diff) |
Rate limiting (#1385)
* Initial rate limiting
* Move rate limiting to client API
* Update rate limits to hopefully be self-cleaning
* Use X-Forwarded-For, add comments
* Reduce rate limit threshold
* Tweak interval
* Configurable backoff
* Review comments, set cleanup interval to 30 seconds
* Allow generate-config to produce sane CI config
* Fix Complement dockerfile
Diffstat (limited to 'build/scripts')
-rw-r--r-- | build/scripts/Complement.Dockerfile | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/build/scripts/Complement.Dockerfile b/build/scripts/Complement.Dockerfile index 32c5234b..de51f16d 100644 --- a/build/scripts/Complement.Dockerfile +++ b/build/scripts/Complement.Dockerfile @@ -12,8 +12,7 @@ COPY . . RUN go build ./cmd/dendrite-monolith-server RUN go build ./cmd/generate-keys RUN go build ./cmd/generate-config -RUN ./generate-config > dendrite.yaml -RUN sed -i "s/disable_tls_validation: false/disable_tls_validation: true/g" dendrite.yaml +RUN ./generate-config --ci > dendrite.yaml RUN ./generate-keys --private-key matrix_key.pem --tls-cert server.crt --tls-key server.key ENV SERVER_NAME=localhost |