代码

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 代码
      }
}   

 

如下

 

相关文章:

  • 2021-11-27
  • 2021-06-21
  • 2022-02-08
  • 2021-05-24
  • 2021-11-27
  • 2021-08-31
  • 2021-09-07
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-10-14
  • 2022-12-23
  • 2021-11-27
相关资源
相似解决方案