Nginx反向代理的简单配置

配置Nginx反向代理.

vhost.conf

server

{

listen 80;

server_name xxx.ecjtu.net;域名

access_log 日志位置;

error_page 404 /;

    location /{

        proxy_pass http://172.16.86.43:8888/;内网地址;

        proxy_redirect default;

    }

}

posted on 2010-05-11 06:11  寻雨  阅读(283)  评论(0编辑  收藏  举报

导航