Unverified Commit 39001af2 authored by gaoyan's avatar gaoyan Committed by GitHub

[Doc]add nginx doc (#3632)

parent 524ffc44
...@@ -123,3 +123,15 @@ docker compose --profile ms -f docker-compose.yml -f docker-compose.dev.yml up ...@@ -123,3 +123,15 @@ docker compose --profile ms -f docker-compose.yml -f docker-compose.dev.yml up
创建容器时,可映射到容器/opt/diny/customJar文件夹,添加自定义jar包. 创建容器时,可映射到容器/opt/diny/customJar文件夹,添加自定义jar包.
欢迎补充 欢迎补充
## Nginx 配置
Dinky使用了SSE技术作为日志推流,如果您使用了nginx代理,需要配置Nginx支持SSE,否则默认Nginx配置会导致大量连接异常,造成页面极其卡顿,
需要在Nginx配置文件中添加以下配置:
```shell
proxy_buffering off;
proxy_cache off;
proxy_read_timeout 86400s;
proxy_send_timeout 86400s;
```
...@@ -256,3 +256,13 @@ Dinky 部署需要 MySQL5.7 以上版本 ...@@ -256,3 +256,13 @@ Dinky 部署需要 MySQL5.7 以上版本
::: :::
## Nginx 配置
Dinky使用了SSE技术作为日志推流,如果您使用了nginx代理,需要配置Nginx支持SSE,否则默认Nginx配置会导致大量连接异常,造成页面极其卡顿,
需要在Nginx配置文件中添加以下配置:
```shell
proxy_buffering off;
proxy_cache off;
proxy_read_timeout 86400s;
proxy_send_timeout 86400s;
```
...@@ -103,5 +103,18 @@ from datagen_source; ...@@ -103,5 +103,18 @@ from datagen_source;
找到我们的作业,点击**详情按钮**,即可查看作业的运行状态,日志,监控等信息。 找到我们的作业,点击**详情按钮**,即可查看作业的运行状态,日志,监控等信息。
![](http://pic.dinky.org.cn/dinky/docs/zh-CN//fast-guide-job-detail.png) ![](http://pic.dinky.org.cn/dinky/docs/zh-CN//fast-guide-job-detail.png)
## Nginx 配置
Dinky使用了SSE技术作为日志推流,如果您使用了nginx代理,需要配置Nginx支持SSE,否则默认Nginx配置会导致大量连接异常,造成页面极其卡顿,
需要在Nginx配置文件中添加以下配置:
```shell
proxy_buffering off;
proxy_cache off;
proxy_read_timeout 86400s;
proxy_send_timeout 86400s;
```
## 写在最后 ## 写在最后
至此,您已经了解了基础DInky使用流程,但Dinky的能力远不止于此,您可以继续阅读其他文档,了解更多Dinky的功能,尽享Dinky为你带来的丝滑开发体验 至此,您已经了解了基础DInky使用流程,但Dinky的能力远不止于此,您可以继续阅读其他文档,了解更多Dinky的功能,尽享Dinky为你带来的丝滑开发体验
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment