← Back to wiki index

Securing Cache Directories

While nothing critical is stored in cache directories by tt-rss nor do files have easily guessable names, you may consider forbidding external access over HTTP to these directories anyway. This is not required, however.

You may also consider restricting access to config.php, just in case.

Using nginx

location /tt-rss/cache {
    deny all;
}

location = /tt-rss/config.php {
    deny all;
}

Using apache (2.4 syntax)

<Directory /var/www/html/tt-rss/cache>
    Require all denied
</Directory>

<Directory /var/www/html/tt-rss>
    <Files "config.php">
        Require all denied
    </Files>
</Directory>