From 8d70c3b7c184ea04900ca8f26cdfc2c378472b58 Mon Sep 17 00:00:00 2001 From: shi-hailong Date: Fri, 24 Jul 2020 17:09:58 +0800 Subject: [PATCH] Update dolphinscheduler.conf (#3296) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit /ui下的资源访问不应该发送到api-server --- docker/build/conf/nginx/dolphinscheduler.conf | 3 +++ 1 file changed, 3 insertions(+) diff --git a/docker/build/conf/nginx/dolphinscheduler.conf b/docker/build/conf/nginx/dolphinscheduler.conf index 9c2c3913dc..a594385a0e 100644 --- a/docker/build/conf/nginx/dolphinscheduler.conf +++ b/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;