aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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 f74e988922..54a5c316ca 100644
--- a/phpBB/docs/nginx.sample.conf
+++ b/phpBB/docs/nginx.sample.conf
@@ -53,6 +53,7 @@ http {
# Deny access to internal phpbb files.
location ~ /(config\.php|common\.php|includes|cache|files|store|images/avatars/upload) {
+ internal;
deny all;
}
@@ -67,6 +68,7 @@ http {
# Deny access to version control system directories.
location ~ /\.svn|/\.git {
+ internal;
deny all;
}
}