summaryrefslogtreecommitdiff
path: root/SecuringCacheDirectories.md
diff options
context:
space:
mode:
authorfox <[email protected]>2019-02-26 05:11:02 +0000
committerfox <[email protected]>2019-02-26 05:11:02 +0000
commit40735860ec698d6ff3817448ceeee15fdc78a52e (patch)
tree3146e47fb8cc5197edb44f6d6053e804b5f7e4e9 /SecuringCacheDirectories.md
parent810bfd79840640c7d12d4c47fcfa9a700bfcc254 (diff)
Update page 'SecuringCacheDirectories'
Diffstat (limited to 'SecuringCacheDirectories.md')
-rw-r--r--SecuringCacheDirectories.md59
1 files changed, 28 insertions, 31 deletions
diff --git a/SecuringCacheDirectories.md b/SecuringCacheDirectories.md
index 2ee629f..2432e66 100644
--- a/SecuringCacheDirectories.md
+++ b/SecuringCacheDirectories.md
@@ -1,32 +1,29 @@
-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 <code>config.php</code>.
-
-## Using nginx
-
-```nginx
-location /tt-rss/cache {
- deny all;
-}
-
-location = /tt-rss/config.php {
- deny all;
-}
-```
-
-## Using apache (2.4 syntax)
-
-```apache
-<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>
+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 <code>config.php</code>, just in case.
+
+## Using nginx
+
+```nginx
+location /tt-rss/cache {
+ deny all;
+}
+
+location = /tt-rss/config.php {
+ deny all;
+}
+```
+
+## Using apache (2.4 syntax)
+
+```apache
+<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>
``` \ No newline at end of file