修复长连接断开的问题 (#290)

master
xmdhs 2021-02-17 10:40:57 +08:00 committed by GitHub
parent bbe7d5d018
commit 13d5616fff
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -545,6 +545,7 @@ nginx_conf_add() {
location /ray/
{
proxy_redirect off;
proxy_read_timeout 1200s;
proxy_pass http://127.0.0.1:10000;
proxy_http_version 1.1;
proxy_set_header X-Real-IP \$remote_addr;