mirror of
https://gitee.com/dify_ai/dify.git
synced 2024-11-30 18:27:53 +08:00
488e3c3d56
Co-authored-by: 天魂 <365125264@qq.com>
11 lines
416 B
Plaintext
11 lines
416 B
Plaintext
# Please do not directly edit this file. Instead, modify the .env variables related to NGINX configuration.
|
|
|
|
proxy_set_header Host $host;
|
|
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
|
proxy_set_header X-Forwarded-Proto $scheme;
|
|
proxy_http_version 1.1;
|
|
proxy_set_header Connection "";
|
|
proxy_buffering off;
|
|
proxy_read_timeout ${NGINX_PROXY_READ_TIMEOUT};
|
|
proxy_send_timeout ${NGINX_PROXY_SEND_TIMEOUT};
|