Skip to content

Commit d277b4d

Browse files
committed
nginx.example.com.conf "xls|xslx" format added
1 parent b9abb6b commit d277b4d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

nginx.example.com.conf

+1-1
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ server {
3232
}
3333

3434
# Prevent Direct Access To modules/vendor Folders Except Assets
35-
location ~ ^/(modules|vendor)\/(.*)\.((?!ico|gif|jpg|jpeg|png|js\b|css|less|sass|font|woff|woff2|eot|ttf|svg).)*$ {
35+
location ~ ^/(modules|vendor)\/(.*)\.((?!ico|gif|jpg|jpeg|png|js\b|css|less|sass|font|woff|woff2|eot|ttf|svg|xls|xlsx).)*$ {
3636
deny all;
3737
}
3838

0 commit comments

Comments
 (0)