]> git.immae.eu Git - github/wallabag/wallabag.git/blobdiff - docs/fr/user/installation.rst
Merge pull request #2616 from mathieui/doc-https-links
[github/wallabag/wallabag.git] / docs / fr / user / installation.rst
index 4f94d6c87ac3741c324957a7f6dc5bc25f8615d9..9ef5ee9828516c6d7cc19686ced5abf0fd4f4b58 100644 (file)
@@ -16,7 +16,7 @@ Installation de Composer :
 
 ::
 
-    curl -s http://getcomposer.org/installer | php
+    curl -s https://getcomposer.org/installer | php
 
 Vous pouvez trouver des instructions spécifiques `ici (en anglais) <https://getcomposer.org/doc/00-intro.md>`__.
 
@@ -82,7 +82,7 @@ Exécutez cette commande pour télécharger et décompresser l'archive :
 
 .. code-block:: bash
 
-    wget http://wllbg.org/latest-v2-package && tar xvf latest-v2-package
+    wget https://wllbg.org/latest-v2-package && tar xvf latest-v2-package
 
 Vous trouverez `le hash md5 du dernier package sur notre site <https://www.wallabag.org/pages/download-wallabag.html>`_.
 
@@ -183,6 +183,12 @@ En imaginant que vous vouliez installer wallabag dans le dossier ``/var/www/wall
             internal;
         }
 
+        # return 404 for all other php files not matching the front controller
+        # this prevents access to other php files you don't want to be accessible.
+        location ~ \.php$ {
+            return 404;
+        }
+
         error_log /var/log/nginx/wallabag_error.log;
         access_log /var/log/nginx/wallabag_access.log;
     }