server
{
listen 28080;
listen 28081 ssl http2 ;
server_name www.shutong.hi.cn;
index index.html index.htm default.htm default.html;
root /www/wwwroot/www.shutong.hi.cn_28080;
#CERT-APPLY-CHECK--START
# 用于SSL证书申请时的文件验证相关配置 -- 请勿删除并保持这段设置在优先级高的位置
include /www/server/panel/vhost/nginx/well-known/www.shutong.hi.cn.conf;
#CERT-APPLY-CHECK--END
# zip 压缩
gzip on;
gzip_buffers 32 4K;
gzip_comp_level 6;
gzip_min_length 100;
gzip_types application/javascript text/css text/xml;
gzip_disable "MSIE [1-6]\."; #配置禁用gzip条件,
|