dmsolr commented on pull request #430:
URL: 
https://github.com/apache/skywalking-rocketbot-ui/pull/430#issuecomment-867734015


   First, work well as you provide nginx configuration sample.
   ```
   upstream skywalking-graphql { server 1.1.1.1:12800;}
   
   server  {
           listen       80;
   
           location /skywalking-ui { 
               alias /var/www/html/skywalking-rocketbot-ui/dist; 
               index  index.html index.htm;
               try_files $uri $uri/ /index.html;
           }
   
           location /skywalking-ui/graphql {
               proxy_pass http://skywalking-graphql/graphql;
               proxy_redirect off;
           }
   }
   ```
   Besides this, there are two bad cases below.
   1. server.context-path: /xxx (show as my comments)
   2. nginx configuration like this.
   ```
   upstream skywalking-graphql { server 1.1.1.1:12800;}
   
   server  {
           listen       80;
   
           location /skywalking-ui/graphql {
               proxy_pass http://skywalking-graphql/graphql;
           }
   }
   ```
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to