mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-05 09:41:40 +09:00
Stop allowing access to .php files under files/cache/
files/cache/document_category/<module_srl>.xml.php 파일에 직접 접근할 필요가 없게 되었으므로, files/cache/ 폴더 전체의 .php 파일 접근을 금지해도 무방함.
This commit is contained in:
parent
34f05b08de
commit
3ea1567fda
3 changed files with 3 additions and 3 deletions
|
|
@ -5,7 +5,7 @@ location ~ ^/rhymix/modules/editor/(skins|styles)/.+\.html$ {
|
|||
location ~ ^/rhymix/(addons|common/tpl|files/ruleset|(m\.)?layouts|modules|plugins|themes|widgets|widgetstyles)/.+\.(html|xml)$ {
|
||||
return 403;
|
||||
}
|
||||
location ~ ^/rhymix/files/(attach|config|cache/store)/.+\.(ph(p|t|ar)?[0-9]?|p?html?|cgi|pl|exe|[aj]spx?|inc|bak)$ {
|
||||
location ~ ^/rhymix/files/(attach|config|cache)/.+\.(ph(p|t|ar)?[0-9]?|p?html?|cgi|pl|exe|[aj]spx?|inc|bak)$ {
|
||||
return 403;
|
||||
}
|
||||
location ~ ^/rhymix/files/(env|member_extra_info/(new_message_flags|point))/ {
|
||||
|
|
|
|||
|
|
@ -5,7 +5,7 @@ location ~ ^/modules/editor/(skins|styles)/.+\.html$ {
|
|||
location ~ ^/(addons|common/tpl|files/ruleset|(m\.)?layouts|modules|plugins|themes|widgets|widgetstyles)/.+\.(html|xml)$ {
|
||||
return 403;
|
||||
}
|
||||
location ~ ^/files/(attach|config|cache/store)/.+\.(ph(p|t|ar)?[0-9]?|p?html?|cgi|pl|exe|[aj]spx?|inc|bak)$ {
|
||||
location ~ ^/files/(attach|config|cache)/.+\.(ph(p|t|ar)?[0-9]?|p?html?|cgi|pl|exe|[aj]spx?|inc|bak)$ {
|
||||
return 403;
|
||||
}
|
||||
location ~ ^/files/(env|member_extra_info/(new_message_flags|point))/ {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue