Skip to content

Commit 28e6588

Browse files
authored
Explicitly set max body size. (#1627)
may not exactly fix the problem. but I want a known value for the text test on cwbi-dev.
1 parent 90950b6 commit 28e6588

2 files changed

Lines changed: 3 additions & 1 deletion

File tree

cwms-data-api/src/docker/server.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,7 @@
4747
connectionTimeout="20000" scheme="https" secure="true"
4848
acceptCount="500" disableUploadTimeout="true" server="cwms-data-api"
4949
maxThreads="200" relaxedPathChars="[]" relaxedQueryChars="[]"
50+
maxPostSize="20971520"
5051
>
5152
<UpgradeProtocol className="org.apache.coyote.http2.Http2Protocol" />
5253
</Connector>

docker-compose.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,6 +132,7 @@ services:
132132
- KC_HTTP_RELATIVE_PATH=/auth
133133
volumes:
134134
- ./compose_files/keycloak/realm.json:/opt/keycloak/data/import/realm.json:ro
135+
- ./compose_files/keycloak/healthcheck.sh:/healthcheck.sh:ro
135136
labels:
136137
- "traefik.enable=true"
137138
- "traefik.http.routers.auth.rule=PathPrefix(`/auth`)"
@@ -160,7 +161,7 @@ services:
160161
- "--providers.docker=true"
161162
- "--providers.docker.exposedbydefault=false"
162163
- "--ping"
163-
- "--log.level=DEBUG"
164+
- "--log.level=WARN"
164165
labels:
165166
- "traefik.enable=true"
166167
- "traefik.http.routers.traefik.rule=PathPrefix(`/traefik`)"

0 commit comments

Comments
 (0)