nginx ip配置反向代理为本地域名

#### gitlab反向代理
server {
        listen       80;
        server_name  gitlab.hp.com;

        location / {
            proxy_pass http://192.168.5.119:8880;
            index  index.html index.htm index.jsp;
        }
    }

 

posted @ 2019-12-10 16:33  牛奔  阅读(2816)  评论(0编辑  收藏  举报