nginx.example.com.conf "xls|xslx" format added
This commit is contained in:
parent
b9abb6be2c
commit
d277b4db5f
@ -32,7 +32,7 @@ server {
|
|||||||
}
|
}
|
||||||
|
|
||||||
# Prevent Direct Access To modules/vendor Folders Except Assets
|
# Prevent Direct Access To modules/vendor Folders Except Assets
|
||||||
location ~ ^/(modules|vendor)\/(.*)\.((?!ico|gif|jpg|jpeg|png|js\b|css|less|sass|font|woff|woff2|eot|ttf|svg).)*$ {
|
location ~ ^/(modules|vendor)\/(.*)\.((?!ico|gif|jpg|jpeg|png|js\b|css|less|sass|font|woff|woff2|eot|ttf|svg|xls|xlsx).)*$ {
|
||||||
deny all;
|
deny all;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user