Browse Source

Update dolphinscheduler.conf (#3296)

/ui下的资源访问不应该发送到api-server
shi-hailong 4 years ago
parent
commit
8d70c3b7c1
1 changed files with 3 additions and 0 deletions
  1. 3 0
      docker/build/conf/nginx/dolphinscheduler.conf

+ 3 - 0
docker/build/conf/nginx/dolphinscheduler.conf

@@ -24,6 +24,9 @@ server {
         root   /opt/dolphinscheduler/ui;
         root   /opt/dolphinscheduler/ui;
         index  index.html index.html;
         index  index.html index.html;
     }
     }
+    location /dolphinscheduler/ui{
+        alias  /opt/dolphinscheduler/ui;
+    }
     location /dolphinscheduler {
     location /dolphinscheduler {
         proxy_pass http://FRONTEND_API_SERVER_HOST:FRONTEND_API_SERVER_PORT;
         proxy_pass http://FRONTEND_API_SERVER_HOST:FRONTEND_API_SERVER_PORT;
         proxy_set_header Host $host;
         proxy_set_header Host $host;