Ajout conf nginx pour la protection de la bdd

This commit is contained in:
Grégoire Marchal 2013-04-17 18:47:53 +03:00
parent d178419c66
commit dbb792bf2d

View file

@ -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.