mirror of
https://github.com/langgenius/dify.git
synced 2026-11-13 14:51:39 +08:00
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
21 lines
1.2 KiB
Plaintext
21 lines
1.2 KiB
Plaintext
# Defaults for nginx. Copy this file to nginx.env to customize it.
|
|
# Edit the settings below in the copy; docker/.env takes precedence.
|
|
# Optional application settings are commented to retain their application defaults.
|
|
|
|
NGINX_SERVER_NAME=${NGINX_SERVER_NAME:-_}
|
|
# Supply certificates in docker/nginx/ssl or enable the Certbot challenge before enabling HTTPS.
|
|
NGINX_HTTPS_ENABLED=${NGINX_HTTPS_ENABLED:-false}
|
|
# Set NGINX_PORT in docker/.env; Compose needs it before loading service files.
|
|
# Set NGINX_SSL_PORT in docker/.env; Compose needs it before loading service files.
|
|
NGINX_SSL_CERT_FILENAME=${NGINX_SSL_CERT_FILENAME:-dify.crt}
|
|
NGINX_SSL_CERT_KEY_FILENAME=${NGINX_SSL_CERT_KEY_FILENAME:-dify.key}
|
|
NGINX_SSL_PROTOCOLS=${NGINX_SSL_PROTOCOLS:-TLSv1.2 TLSv1.3}
|
|
NGINX_WORKER_PROCESSES=${NGINX_WORKER_PROCESSES:-auto}
|
|
NGINX_CLIENT_MAX_BODY_SIZE=${NGINX_CLIENT_MAX_BODY_SIZE:-100M}
|
|
NGINX_KEEPALIVE_TIMEOUT=${NGINX_KEEPALIVE_TIMEOUT:-65}
|
|
NGINX_PROXY_READ_TIMEOUT=${NGINX_PROXY_READ_TIMEOUT:-3600s}
|
|
NGINX_PROXY_SEND_TIMEOUT=${NGINX_PROXY_SEND_TIMEOUT:-3600s}
|
|
NGINX_ENABLE_CERTBOT_CHALLENGE=${NGINX_ENABLE_CERTBOT_CHALLENGE:-false}
|
|
NGINX_SOCKET_IO_UPSTREAM=${NGINX_SOCKET_IO_UPSTREAM:-api_websocket:5001}
|
|
CERTBOT_DOMAIN=${CERTBOT_DOMAIN:-}
|