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

Posted 牛奔

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了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;
        }
    }

 

以上是关于nginx ip配置反向代理为本地域名的主要内容,如果未能解决你的问题,请参考以下文章