I’m sure this isn’t a github issue, but a question:
I’m setting up a gitea server with Postgres. I would like to set up limits for the size of files users can commit and push, 40MB. The app.ini has the following values:
[repository.upload]
; Whether repository file uploads are enabled. Defaults to `true`
ENABLED = true
; Path for uploads. Defaults to `data/tmp/uploads` (tmp gets deleted on gitea restart)
TEMP_PATH = data/tmp/uploads
; One or more allowed types, e.g. image/jpeg|image/png. Nothing means any file type
ALLOWED_TYPES =
; Max size of each file in megabytes. Defaults to 3MB
FILE_MAX_SIZE = 3
; Max number of files per upload. Defaults to 5
MAX_FILES = 5
I’ve set these values to be:
[repository.upload]
; Whether repository file uploads are enabled. Defaults to `true`
ENABLED = true
FILE_MAX_SIZE = 40
However, I’m still able to push and commit files several GB in size. I’ve restarted gitea, and have done make clean and make build several times.
I must be making a mistake: how do I set commit limits?