mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-07 20:08:53 +00:00
Merge branch 'develop-olympus' into develop
* develop-olympus: [ticket/10007] Add directive 'internal' to blocked folders in nginx config.
This commit is contained in:
commit
9716cceb1b
1 changed files with 2 additions and 0 deletions
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue