aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOleg Pudeyev <oleg@bsdpower.com>2011-01-26 05:45:16 -0500
committerOleg Pudeyev <oleg@bsdpower.com>2011-01-26 05:45:16 -0500
commitafc856417f89114d7ea56eb0b290f7604dba0d6b (patch)
tree3719f551e1af248a9205f0c6daee60970443baac
parente1e84f9bd080bb6cad604611535dc38e4109eb47 (diff)
parenta970219d61204b2e8e5d937d448ac25c44ce5fd0 (diff)
downloadforums-afc856417f89114d7ea56eb0b290f7604dba0d6b.tar
forums-afc856417f89114d7ea56eb0b290f7604dba0d6b.tar.gz
forums-afc856417f89114d7ea56eb0b290f7604dba0d6b.tar.bz2
forums-afc856417f89114d7ea56eb0b290f7604dba0d6b.tar.xz
forums-afc856417f89114d7ea56eb0b290f7604dba0d6b.zip
Merge branch 'ticket/bantu/10007' into develop-olympus
* ticket/bantu/10007: [ticket/10007] Add directive 'internal' to blocked folders in nginx config.
-rw-r--r--phpBB/docs/nginx.sample.conf2
1 files changed, 2 insertions, 0 deletions
diff --git a/phpBB/docs/nginx.sample.conf b/phpBB/docs/nginx.sample.conf
index a22a126ff4..2a11e057c5 100644
--- a/phpBB/docs/nginx.sample.conf
+++ b/phpBB/docs/nginx.sample.conf
@@ -45,6 +45,7 @@ http {
# Deny access to internal phpbb files.
location ~ /(config\.php|common\.php|includes|cache|files|store|images/avatars/upload) {
+ internal;
deny all;
}
@@ -59,6 +60,7 @@ http {
# Deny access to version control system directories.
location ~ /\.svn|/\.git {
+ internal;
deny all;
}
}