Add some deny blocks to secure cache directories for tt-rss

This commit is contained in:
Sadiq Saif 2017-11-09 16:07:57 -05:00 committed by GitHub
parent 9bea7f7d08
commit 084ee25fa9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 6 additions and 0 deletions

View File

@ -235,6 +235,12 @@
- ssl_stapling on
- resolver 8.8.8.8 valid=300s
- add_header Strict-Transport-Security max-age=31536000
- location /cache {
deny all;
}
- location = /config.php {
deny all;
}
- location / {
try_files $uri $uri/ /index.php?$args;
}