nginx.example.com.conf "xls|xslx" format added

This commit is contained in:
Cihan Şentürk 2021-06-09 17:04:48 +03:00
parent b9abb6be2c
commit d277b4db5f

View File

@ -32,7 +32,7 @@ server {
}
# 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;
}