From: Nicolas Lœuillet Date: Sun, 10 Apr 2016 12:12:25 +0000 (+0200) Subject: Add documentation about importing large file into nginx X-Git-Tag: 2.0.1~12^2 X-Git-Url: https://git.immae.eu/?a=commitdiff_plain;h=cea846d4070b96868e889042ddf2e1c62725bddb;p=github%2Fwallabag%2Fwallabag.git Add documentation about importing large file into nginx Fix #1849: configuration to avoid 413 Request Entity Too Large. --- diff --git a/docs/en/user/installation.rst b/docs/en/user/installation.rst index 586b01ad..182ed418 100644 --- a/docs/en/user/installation.rst +++ b/docs/en/user/installation.rst @@ -151,3 +151,7 @@ Assuming you install wallabag in the /var/www/wallabag folder, here's the recipe } After reloading or restarting nginx, you should now be able to access wallabag at http://domain.tld. + +.. note:: + + When you want to import large file into wallabag, you need to add this line in your nginx configuration ``client_max_body_size XM; # allows file uploads up to X megabytes``. diff --git a/docs/fr/user/installation.rst b/docs/fr/user/installation.rst index 53cc4adf..e8f72717 100644 --- a/docs/fr/user/installation.rst +++ b/docs/fr/user/installation.rst @@ -63,7 +63,7 @@ Et accéder wallabag à l'adresse http://lipdevotreserveur:8000 .. note:: Pour définir des paramètres via des variables d'environnement, vous pouvez les spécifier avec le préfixe ``SYMFONY__``. Par exemple, ``SYMFONY__DATABASE_DRIVER``. Vous pouvez lire `documentation Symfony -`__ pour en savoir plus. +`__ pour en savoir plus. Installation avec Apache ------------------------ @@ -149,3 +149,7 @@ En imaginant que vous vouliez installer wallabag dans le dossier /var/www/wallab } Après que vous ayez rechargé/redémarré Nginx, vous devriez pouvoir avoir accès à wallabag à l'adresse http://domain.tld. + +.. note:: + + Si vous voulez importer un fichier important dans wallabag, vous debez ajouter cette ligne dans votre configuration nginx ``client_max_body_size XM; # allows file uploads up to X megabytes``.