From cea846d4070b96868e889042ddf2e1c62725bddb Mon Sep 17 00:00:00 2001 From: =?utf8?q?Nicolas=20L=C5=93uillet?= Date: Sun, 10 Apr 2016 14:12:25 +0200 Subject: [PATCH] Add documentation about importing large file into nginx Fix #1849: configuration to avoid 413 Request Entity Too Large. --- docs/en/user/installation.rst | 4 ++++ docs/fr/user/installation.rst | 6 +++++- 2 files changed, 9 insertions(+), 1 deletion(-) 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``. -- 2.41.0