浏览代码

Update dolphinscheduler.conf (#3296)

/ui下的资源访问不应该发送到api-server
shi-hailong 4 年之前
父节点
当前提交
8d70c3b7c1
共有 1 个文件被更改,包括 3 次插入0 次删除
  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;
         index  index.html index.html;
     }
+    location /dolphinscheduler/ui{
+        alias  /opt/dolphinscheduler/ui;
+    }
     location /dolphinscheduler {
         proxy_pass http://FRONTEND_API_SERVER_HOST:FRONTEND_API_SERVER_PORT;
         proxy_set_header Host $host;