设为首页 加入收藏

TOP

Nginx安装、配置和使用(二)
2019-05-23 14:40:38 】 浏览:217
Tags:Nginx 安装 配置 使用
nginx.conf配置文件。

server {

        listen       80;

        server_name  test3.taotao.com;

 

        #charset koi8-r;

 

        #access_log  logs/host.access.log  main;

 

        location / {

            root   html-test3;

            index  index.html index.htm;

        }

   }

 

注意:修改配置后需要重新加载配置文件。

 

首页 上一页 1 2 下一页 尾页 2/2/2
】【打印繁体】【投稿】【收藏】 【推荐】【举报】【评论】 【关闭】 【返回顶部
上一篇第2章 算法——程序的灵魂 下一篇PTA-括号问题

最新文章

热门文章

Hot 文章

Python

C 语言

C++基础

大数据基础

linux编程基础

C/C++面试题目