You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@skywalking.apache.org by GitBox <gi...@apache.org> on 2021/06/06 08:35:46 UTC

[GitHub] [skywalking-rocketbot-ui] taomaree edited a comment on pull request #430: Suport Relative Path to Deploy to any context path

taomaree edited a comment on pull request #430:
URL: https://github.com/apache/skywalking-rocketbot-ui/pull/430#issuecomment-809355904


   sorry for reply later.
   because open more firewall port needs many works to do,  so i think there maybe a way to deploy skywalking-ui to any context path, rather than the root.
   with this PR, i've deploy skywalking-ui behind nginx, location /skywalking-ui, avoid changing firewall policy.
   
   nginx conf sample:
   ```
   upstream skywalking-graphql { server 1.1.1.1:12800;}
   
   server  {
           listen       80;
   
           location /skywalking-ui { 
               alias /var/www/html/skywalking-rocketbot-ui/dist; 
           }
   
           location /skywalking-ui/graphql {
               proxy_pass http://skywalking-graphql;
               proxy_redirect off;
           }
   }
   
   ```


-- 
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:
users@infra.apache.org