From f9ff346c08596704e02bccc95c452868548c164c Mon Sep 17 00:00:00 2001 From: Gabriel Ebner Date: Sun, 19 Jun 2016 10:03:20 +0200 Subject: [PATCH] mastus: ttrss: secure cache directories --- mastus/ttrss.nix | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/mastus/ttrss.nix b/mastus/ttrss.nix index 75451f4..a15e992 100644 --- a/mastus/ttrss.nix +++ b/mastus/ttrss.nix @@ -104,6 +104,13 @@ index index.php; } + location /cache { + deny all; + } + location = /config.php { + deny all; + } + location ~ \.php$ { fastcgi_split_path_info ^(.+\.php)(/.+)$; fastcgi_pass 192.168.100.11:9000;