You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Tree:
d84512c9b8
2.0.7-release
2.0.8-release
2.0.9-release
3.0.0-release
3.0.0/version-upgrade
3.0.1-release
3.0.2-release
3.0.3-release
3.0.4-release
3.0.5-release
3.0.6-release
3.1.0-release
3.1.1-release
3.1.2-release
3.1.3-release
3.1.4-release
3.1.5-release
3.1.6-release
3.1.7-release
3.1.8-release
3.1.9-release
3.2.0-release
3.2.1-prepare
3.2.1-release
3.2.2-prepare
3.2.2-release
dev
1.0.0
1.0.1
1.0.2
1.0.3
1.0.4
1.0.5
1.1.0
1.1.0-preview
1.2.0
1.2.1
1.3.0
1.3.1
1.3.2
1.3.3
1.3.4
1.3.5
1.3.6
1.3.8
1.3.9
2.0.0
2.0.0-alpha
2.0.1
2.0.2
2.0.3
2.0.4
2.0.5
2.0.6
2.0.7
2.0.8
2.0.9
3.0.0
3.0.0-alpha
3.0.0-beta-1
3.0.0-beta-2
3.0.1
3.0.2
3.0.3
3.0.4
3.0.5
3.0.6
3.1.0
3.1.1
3.1.2
3.1.3
3.1.4
3.1.5
3.1.6
3.1.7
3.1.8
3.1.9
3.2.0
3.2.1
3.2.2
test
v2.3.3
v2.3.4.202211081355
v2.3.4.202211091515
vdev-20220412-1028
vdev-20220414-1341
${ noResults }
DolphinScheduler/docker/build/conf/nginx/dolphinscheduler.conf
49 lines
1.8 KiB
49 lines
1.8 KiB
#
|
|||
# Licensed to the Apache Software Foundation (ASF) under one or more
|
|||
# contributor license agreements. See the NOTICE file distributed with
|
|||
# this work for additional information regarding copyright ownership.
|
|||
# The ASF licenses this file to You under the Apache License, Version 2.0
|
|||
# (the "License"); you may not use this file except in compliance with
|
|||
# the License. You may obtain a copy of the License at
|
|||
#
|
|||
# http://www.apache.org/licenses/LICENSE-2.0
|
|||
#
|
|||
# Unless required by applicable law or agreed to in writing, software
|
|||
# distributed under the License is distributed on an "AS IS" BASIS,
|
|||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|||
# See the License for the specific language governing permissions and
|
|||
# limitations under the License.
|
|||
#
|
|||
|
|||
server {
|
|||
listen 8888;
|
|||
server_name localhost;
|
|||
#charset koi8-r;
|
|||
#access_log /var/log/nginx/host.access.log main;
|
|||
location / {
|
|||
root /opt/dolphinscheduler/ui;
|
|||
index index.html index.html;
|
|||
}
|
|||
|
location /dolphinscheduler {
|
||
proxy_pass http://FRONTEND_API_SERVER_HOST:FRONTEND_API_SERVER_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";
|
|||
}
|
|||
#error_page 404 /404.html;
|
|||
# redirect server error pages to the static page /50x.html
|
|||
#
|
|||
error_page 500 502 503 504 /50x.html;
|
|||
location = /50x.html {
|
|||
root /usr/share/nginx/html;
|
|||
}
|
|||
}
|