代码
http { include mime.types; default_type application/octet-stream; sendfile on; #tcp_nopush on; #keepalive_timeout 0; keepalive_timeout 65; #gzip on; // 默认访问index.php index index.php index.html index.htm; server { .... server 代码 } }
如下
代码
http { include mime.types; default_type application/octet-stream; sendfile on; #tcp_nopush on; #keepalive_timeout 0; keepalive_timeout 65; #gzip on; // 默认访问index.php index index.php index.html index.htm; server { .... server 代码 } }
如下