feat: control request body sizes #53

Open
fauno wants to merge 1 commits from request-body-limit into main
2 changed files with 8 additions and 0 deletions
+7
View File
@@ -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"
+1
View File
@@ -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