当前位置:论坛首页 > Linux面板 > 求助

请问 默认设置内 server_name www.bt.cn 作用

发表在 Linux面板2017-11-12 05:07 [复制链接] 2 1699


最近使用宝塔觉得挺好 见面漂亮 更新快 非常感谢

请问 默认 如下 具体 作用

  1. server
  2.     {
  3.         listen 777;

  4.         server_name www.bt.cn;
  5.         index index.html index.htm index.php;
  6.         root  /www/server/stop;

  7.         #error_page   404   /404.html;
  8.         include enable-php.conf;

  9.         location ~ .*\.(gif|jpg|jpeg|png|bmp|swf)$
  10.         {
  11.             expires      30d;
  12.         }

  13.         location ~ .*\.(js|css)?$
  14.         {
  15.             expires      12h;
  16.         }

  17.         location ~ /\.
  18.         {
  19.             deny all;
  20.         }

  21.         access_log  /www/wwwlogs/access.log;
  22.     }
  23. include /www/server/panel/vhost/nginx/*.conf;
  24. }
复制代码


使用道具 举报 只看该作者 回复
发表于 2017-11-12 17:58:26 | 显示全部楼层
没什么意思的,可以删除!

----------------------------------------------------------------------------------------------------
菜鸟团队技术博客点击联系
使用道具 举报 回复 支持 反对
发表于 2017-11-13 00:54:58 | 显示全部楼层
penn 发表于 2017-11-12 17:58
没什么意思的,可以删除!

-------------------------------------------------------------------------- ...

谢谢 呵呵
使用道具 举报 回复 支持 反对
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

普通问题处理

论坛响应时间:72小时

问题处理方式:排队(仅解答)

工作时间:白班:9:00 - 18:00

紧急问题处理

论坛响应时间:10分钟

问题处理方式:1对1处理(优先)

工作时间:白班:9:00 - 18:00

工作时间:晚班:18:00 - 24:00

立即付费处理

工作时间:09:00至24:00

快速回复 返回顶部 返回列表