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;
        }
    }

猜你喜欢

转载自www.cnblogs.com/niuben/p/12017501.html
今日推荐