server {
listen 8811;
server_name localhost;
location / {
root /html/licence-web/dist;
try_files $uri $uri/ /index.html last;
index index.html index.htm;
gzip on;
gzip_comp_level 6;
gzip_min_length 10k;
gzip_types text/plain application/javascript application/x-javascript text/css application/xml text/javascript application/json;
gzip_vary on;
}
}
© 版权声明
文章版权归作者所有,未经允许请勿转载。
相关文章
暂无评论...


