mirror of
https://github.com/langgenius/dify.git
synced 2025-12-22 10:45:35 -05:00
Signed-off-by: lyzno1 <yuanyouhuilyz@gmail.com> Co-authored-by: Stream <Stream_2@qq.com> Co-authored-by: lyzno1 <92089059+lyzno1@users.noreply.github.com> Co-authored-by: zhsama <torvalds@linux.do> Co-authored-by: Harry <xh001x@hotmail.com> Co-authored-by: lyzno1 <yuanyouhuilyz@gmail.com> Co-authored-by: yessenia <yessenia.contact@gmail.com> Co-authored-by: hjlarry <hjlarry@163.com> Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com> Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com> Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com> Co-authored-by: WTW0313 <twwu@dify.ai> Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
59 lines
1.2 KiB
Plaintext
59 lines
1.2 KiB
Plaintext
# Please do not directly edit this file. Instead, modify the .env variables related to NGINX configuration.
|
|
|
|
server {
|
|
listen ${NGINX_PORT};
|
|
server_name ${NGINX_SERVER_NAME};
|
|
|
|
location /console/api {
|
|
proxy_pass http://api:5001;
|
|
include proxy.conf;
|
|
}
|
|
|
|
location /api {
|
|
proxy_pass http://api:5001;
|
|
include proxy.conf;
|
|
}
|
|
|
|
location /v1 {
|
|
proxy_pass http://api:5001;
|
|
include proxy.conf;
|
|
}
|
|
|
|
location /files {
|
|
proxy_pass http://api:5001;
|
|
include proxy.conf;
|
|
}
|
|
|
|
location /explore {
|
|
proxy_pass http://web:3000;
|
|
include proxy.conf;
|
|
}
|
|
|
|
location /e/ {
|
|
proxy_pass http://plugin_daemon:5002;
|
|
proxy_set_header Dify-Hook-Url $scheme://$host$request_uri;
|
|
include proxy.conf;
|
|
}
|
|
|
|
location / {
|
|
proxy_pass http://web:3000;
|
|
include proxy.conf;
|
|
}
|
|
|
|
location /mcp {
|
|
proxy_pass http://api:5001;
|
|
include proxy.conf;
|
|
}
|
|
|
|
location /triggers {
|
|
proxy_pass http://api:5001;
|
|
include proxy.conf;
|
|
}
|
|
|
|
# placeholder for acme challenge location
|
|
${ACME_CHALLENGE_LOCATION}
|
|
|
|
# placeholder for https config defined in https.conf.template
|
|
${HTTPS_CONFIG}
|
|
}
|