美文网首页
CXKPI nginx config

CXKPI nginx config

作者: SilasChen | 来源:发表于2021-03-09 14:43 被阅读0次

cxkpi need to use nginx to set two domain.

one is for cxtool user entrance.

cxkpi.codata.lenovo.com

server {

listen 80;

server_name cxkpi.codata.lenovo.com;

location /cxkpimgr {

    alias  /home/admin12/code/cxkpi-manager/dist/;

    index  index.html;

    try_files $uri $uri/ /cxkpimgr/index.html;

  }

}

server {

listen 80;

server_name api.cxkpi.lenovo.com;

location / {

proxy_pass http://cxkpi.earth.xpaas.lenovo.com;

}

}

相关文章

网友评论

      本文标题:CXKPI nginx config

      本文链接:https://www.haomeiwen.com/subject/emfbqltx.html