jenkins

作者: Eden0204 | 来源:发表于2019-05-28 12:59 被阅读0次
server {
    listen       80;
    server_name  localhost;
    index index.html index.htm index.php;

    root /home/dist;

    charset utf-8;

    location / {
      try_files $uri $uri/ /index.html;
    }
location /api {
        proxy_pass http://test.wo.51shebao.com/api;
        proxy_set_header X-Real-IP $remote_addr;

    }
    location = /favicon.ico { access_log off; log_not_found off; }
    location = /robots.txt  { access_log off; log_not_found off; }

}

相关文章

网友评论

      本文标题:jenkins

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