feat: control request body sizes #53
@@ -10,6 +10,13 @@ COMPOSE_FILE="$COMPOSE_FILE:compose.mariadb.yml"
|
||||
|
||||
SECRET_LFS_JWT_SECRET_VERSION=v1 # length=43
|
||||
|
||||
# Control request body sizes. If you're having issues uploading big
|
||||
# files, set this option to 0 or a big number in bytes, and also check
|
||||
# READ_TIMEOUT in Traefik's recipe.
|
||||
#
|
||||
# https://doc.traefik.io/traefik/reference/routing-configuration/http/middlewares/buffering/#opt-memRequestBodyBytes
|
||||
#MAX_REQUEST_BODY_LIMIT=0
|
||||
|
||||
# Anubis
|
||||
# COMPOSE_FILE="$COMPOSE_FILE:compose.anubis.yml"
|
||||
|
||||
|
||||
@@ -90,6 +90,7 @@ services:
|
||||
- "traefik.http.middlewares.${STACK_NAME}_cors.headers.accesscontrolalloworiginlist=https://${GITEA_CORS_ALLOW_DOMAIN}"
|
||||
- "traefik.http.middlewares.${STACK_NAME}_cors.headers.accesscontrolmaxage=100"
|
||||
- "traefik.http.middlewares.${STACK_NAME}_cors.headers.addvaryheader=true"
|
||||
- "traefik.http.middlewares.${STACK_NAME}-buffering.buffering.maxRequestBodyBytes=${MAX_REQUEST_BODY_LIMIT:-0}"
|
||||
- coop-cloud.${STACK_NAME}.version=5.6.3+15.0.9-rootless
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user