chengshiwen edited a comment on issue #4944:
URL:
https://github.com/apache/incubator-dolphinscheduler/issues/4944#issuecomment-790286121
@pptfz You can try to configure nginx like:
```
server {
listen 80;
server_name ds.abc.com;
return 301 https://$server_name$request_uri;
}
server {
listen 443 ssl;
server_name ds.abc.com;
client_max_body_size 10240m;
location / {
proxy_pass http://127.0.0.1:12345/dolphinscheduler/;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header Host $http_host;
proxy_set_header X-NginX-Proxy true;
proxy_hide_header Server;
proxy_redirect off;
location /dolphinscheduler {
proxy_pass http://127.0.0.1:12345;
}
}
access_log /var/log/ds/ds.abc.com.access.log;
error_log /var/log/ds/ds.abc.com.error.log;
ssl_certificate ssl_key/1_ds.abc.com_bundle.crt;
ssl_certificate_key ssl_key/2_ds.abc.com.key;
ssl_protocols TLSv1 TLSv1.1 TLSv1.2;
}
```
----------------------------------------------------------------
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]