]> git.immae.eu Git - github/wallabag/wallabag.git/commitdiff
Ajout conf nginx pour la protection de la bdd 50/head
authorGrégoire Marchal <gregoire.marchal@gmail.com>
Wed, 17 Apr 2013 15:47:53 +0000 (18:47 +0300)
committerGrégoire Marchal <gregoire.marchal@gmail.com>
Wed, 17 Apr 2013 15:47:53 +0000 (18:47 +0300)
README.md

index 1015085ac7b5f4a0f73a4d07e42bf9397cc7cf63..34c45e63222177256ba8ba40c99f6a19f74b3d07 100644 (file)
--- a/README.md
+++ b/README.md
@@ -36,6 +36,14 @@ You **have** to protect your db/poche.sqlite file. Modify the virtual host of yo
 </Files>
 ```
 
+Nginx version:
+```nginx
+location ~ /(db) {
+    deny all;
+    return 404;
+}
+```
+
 ## Import from Pocket
 
 If you want to import your Pocket datas, [export them here](https://getpocket.com/export). Put the HTML file in your poche directory, execute import.php file locally by following instructions. Be careful, the script can take a very long time.
@@ -44,4 +52,4 @@ If you want to import your Pocket datas, [export them here](https://getpocket.co
 Copyright © 2010-2013 Nicolas Lœuillet <nicolas@loeuillet.org>
 This work is free. You can redistribute it and/or modify it under the
 terms of the Do What The Fuck You Want To Public License, Version 2,
-as published by Sam Hocevar. See the COPYING file for more details.
\ No newline at end of file
+as published by Sam Hocevar. See the COPYING file for more details.