Update README.md

This commit is contained in:
Eric Johansson (neku) 2016-05-15 17:07:18 +02:00
parent e3fe8ee92a
commit 9fea93f6fc
1 changed files with 2 additions and 2 deletions

View File

@ -16,7 +16,7 @@
* Execute check.sh regularly with cron to delete old files: `crontab -e` and add `0,15,30,45 * * * * bash /path/to/check.sh` (or adapt if you know how cron works). * Execute check.sh regularly with cron to delete old files: `crontab -e` and add `0,15,30,45 * * * * bash /path/to/check.sh` (or adapt if you know how cron works).
* Make the Uguu/public/files and Uguu/rain/cache directory modifiable by the web server user: * Make the Uguu/public/files and Uguu/rain/cache directory modifiable by the web server user:
`chown -R www-data:www-data /path/to/Uguu/public/files` and `chown -R www-data:www-data /path/to/Uguu/rain/cache` `chown -R www-data:www-data /path/to/Uguu/public/files` and `chown -R www-data:www-data /path/to/Uguu/rain/cache`
* Make sure the Uguu/public/files folder is not indexable, you may use a virtual host config similar to this one: * Make sure the Uguu/public/files folder is not indexable, you may use a virtual host config similar to this one using Apache:
``` ```
<VirtualHost *:80> <VirtualHost *:80>
@ -41,7 +41,7 @@
</VirtualHost> </VirtualHost>
``` ```
Or something like this using Nginx: Or something like this using Nginx+PHP-FPM:
uguu.se uguu.se
``` ```