From 53f04836763a7decea9d96213c19aba74c609c08 Mon Sep 17 00:00:00 2001
From: ftimme <ft@falkotimme.com>
Date: Tue, 04 Sep 2012 08:15:36 -0400
Subject: [PATCH] - Added random PHP dummy file also to folder protection directives.
---
server/conf/nginx_vhost.conf.master | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/server/conf/nginx_vhost.conf.master b/server/conf/nginx_vhost.conf.master
index 6284800..a598953 100644
--- a/server/conf/nginx_vhost.conf.master
+++ b/server/conf/nginx_vhost.conf.master
@@ -153,7 +153,7 @@
auth_basic_user_file <tmpl_var name='htpasswd_path'>.htpasswd;
location ~ \.php$ {
- try_files @php @php;
+ try_files <tmpl_var name='rnd_php_dummy_file'> @php;
}
}
</tmpl_loop>
--
Gitblit v1.9.1