mirror of
https://github.com/nokonoko/Uguu.git
synced 2024-01-06 13:35:15 +00:00
Update README.md
This commit is contained in:
parent
e3fe8ee92a
commit
9fea93f6fc
@ -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
|
||||||
```
|
```
|
||||||
|
Loading…
Reference in New Issue
Block a user