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;
        }
    }
原文地址:https://www.cnblogs.com/niuben/p/12017501.html