From c297f0e74b5f8fc92d28b8e97fcc91fbb62ef421 Mon Sep 17 00:00:00 2001 From: Pierre-Yves Chibon Date: Sep 21 2015 10:32:09 +0000 Subject: Add documentation about the MAX_CONTENT_LENGTH configuration key --- diff --git a/doc/configuration.rst b/doc/configuration.rst index e55b631..1af554c 100644 --- a/doc/configuration.rst +++ b/doc/configuration.rst @@ -321,3 +321,12 @@ So they are sensitive, thus the check for the origin of the request using these endpoints. Defaults to: ``['127.0.0.1', 'localhost', '::1']``. + + +MAX_CONTENT_LENGTH +~~~~~~~~~~~~~~~~~~ + +This configuration key allows to specify the maximum size allowed when +uploading content to pagure (for example, screenshots to a ticket). + +Defaults to: ``4 * 1024 * 1024`` which corresponds to 4 megabytes.