您的位置:首页 > 运维架构 > Nginx

nginx.conf 新增虚拟机端口配置 与 通过域名 登录配置

2017-06-24 17:13 423 查看
nginx 新增虚拟机端口配置

server {

        listen       80;//端口

        server_name  test1.taotao.com;//域名

        #charset koi8-r;

        #access_log  logs/host.access.log  main;

        location / {

            root   html-test;

            index  index.html index.htm;

        }

        

        }
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签:  ajax javascript MYSQL SQL