zhangmy163 commented on issue #3225:
URL: 
https://github.com/apache/incubator-dolphinscheduler/issues/3225#issuecomment-659885474


   I found the reason, because the front-end version of 1.3.1 has adjusted the 
path, basically all the jumps (index.html or the js it calls) have increased 
the path `/dolphinscheduler/ui`
   
   following is my nginx.conf,Hope to help friends who encounter the same 
problem.
   
   ```
   location / {
           return 301 /dolphinscheduler/ui/;
       }
       location /dolphinscheduler/ui/ {
           alias  /opt/DolphinScheduler/dolphinScheduler-ui/;      # ui path
           index  index.html;
       }
       location /dolphinscheduler{
           proxy_pass http://127.0.0.1:12345;            # api port
           proxy_set_header Host $host;
           proxy_set_header X-Real-IP $remote_addr;
           proxy_set_header x_real_ipP $remote_addr;
           proxy_set_header remote_addr $remote_addr;
           proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
           proxy_http_version 1.1;
           proxy_connect_timeout 300s;
           proxy_read_timeout 300s;
           proxy_send_timeout 300s;
           proxy_set_header Upgrade $http_upgrade;
           proxy_set_header Connection "upgrade";
       }
   ```


----------------------------------------------------------------
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