Update recommended nginx configuration

This commit is contained in:
Kijin Sung 2017-02-27 16:26:11 +09:00
parent 4d03f70d0a
commit ca24533ad9
2 changed files with 2 additions and 2 deletions

View file

@ -11,7 +11,7 @@ location ~ ^/rhymix/(addons|common/tpl|files/ruleset|(m\.)?layouts|modules|plugi
location ~ ^/rhymix/files/(attach|config|cache/store)/.+\.php$ {
return 403;
}
location ~ ^/rhymix/files/env/ {
location ~ ^/rhymix/files/(env|member_extra_info/(new_message_flags|point))/ {
return 403;
}
location ~ ^/rhymix/(\.git|\.ht|\.travis|codeception\.|composer\.|Gruntfile\.js|package\.json|CONTRIBUTING|COPYRIGHT|LICENSE|README) {

View file

@ -11,7 +11,7 @@ location ~ ^/(addons|common/tpl|files/ruleset|(m\.)?layouts|modules|plugins|them
location ~ ^/files/(attach|config|cache/store)/.+\.php$ {
return 403;
}
location ~ ^/files/env/ {
location ~ ^/files/(env|member_extra_info/(new_message_flags|point))/ {
return 403;
}
location ~ ^/(\.git|\.ht|\.travis|codeception\.|composer\.|Gruntfile\.js|package\.json|CONTRIBUTING|COPYRIGHT|LICENSE|README) {