Update .htaccess and nginx rewrite rules

This commit is contained in:
Kijin Sung 2016-06-29 16:49:36 +09:00
parent d2c98830cc
commit ba28484545
3 changed files with 3 additions and 3 deletions

View file

@ -5,7 +5,7 @@ location ~ ^/rhymix/modules/editor/(skins|styles)/.+\.html$ {
location ~ ^/rhymix/common/manual/.+\.html$ {
# pass
}
location ~ ^/rhymix/(addons|common|files/ruleset|(m\.)?layouts|modules|plugins|themes|widgets|widgetstyles)/.+\.(html|xml)$ {
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)/.+\.php$ {

View file

@ -5,7 +5,7 @@ location ~ ^/modules/editor/(skins|styles)/.+\.html$ {
location ~ ^/common/manual/.+\.html$ {
# pass
}
location ~ ^/(addons|common|files/ruleset|(m\.)?layouts|modules|plugins|themes|widgets|widgetstyles)/.+\.(html|xml)$ {
location ~ ^/(addons|common/tpl|files/ruleset|(m\.)?layouts|modules|plugins|themes|widgets|widgetstyles)/.+\.(html|xml)$ {
return 403;
}
location ~ ^/files/(attach|config|cache/store)/.+\.php$ {