mirror of
https://github.com/cedar2025/Xboard.git
synced 2025-01-22 10:38:14 -05:00
chore: docker 环境增加json、ico文件访问支持
This commit is contained in:
parent
14c88f23ff
commit
76cf93a2c9
@ -15,7 +15,7 @@ server {
|
||||
gzip on;
|
||||
gzip_types text/plain text/css application/json application/javascript text/xml application/xml application/xml+rss text/javascript;
|
||||
|
||||
location ~* \.(jpg|jpeg|png|gif|js|css|svg|woff2|woff|ttf|eot|wasm)$ {
|
||||
location ~* \.(jpg|jpeg|png|gif|js|css|svg|woff2|woff|ttf|eot|wasm|json|ico)$ {
|
||||
# 这里将.jpg、.jpeg、.png、.gif、.js和.css文件直接返回给客户端
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user