X-Git-Url: https://jfr.im/git/uguu.git/blobdiff_plain/9fea93f6fcfc4c94ba85c85cb52503ba1492f153..7591891674e50c6d0f02a0d3d4acebd8895131f4:/README.md diff --git a/README.md b/README.md index 103c2bb..110eda7 100644 --- a/README.md +++ b/README.md @@ -13,7 +13,7 @@ * Modify includes/config.php (copy config.template.php as a starting point) to set up the main options for Uguu. * Some file extensions are blocked by default, this can be changed via includes/config.php's CONFIG_BLOCKED_EXTENSIONS value. * Copy `rain/template/footer.template.html` as `rain/template/footer.html` and personalize the footer as you wish -* 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 * * * * cd /path/to/uguu/includes && bash 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: `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 using Apache: @@ -53,8 +53,6 @@ server{ autoindex off; index index.html index.php; -return 301 https://$host$request_uri; - location ~* \.php$ { fastcgi_pass unix:/var/run/php5-fpm.sock; fastcgi_intercept_errors on; @@ -82,8 +80,6 @@ server{ autoindex off; index index.html; -return 301 https://$host$request_uri; - error_page 404 /404.html; error_page 403 /404.html; location /404.html {