dify/docker/nginx/conf.d/default.conf.template

35 lines
701 B
Plaintext
Raw Normal View History

# Please do not directly edit this file. Instead, modify the .env variables related to NGINX configuration.
2023-05-15 08:51:32 +08:00
server {
listen 80;
server_name ${NGINX_SERVER_NAME};
2023-05-15 08:51:32 +08:00
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;
}
2023-05-15 08:51:32 +08:00
location / {
proxy_pass http://web:3000;
include proxy.conf;
}
# placeholder for https config defined in https.conf.template
${HTTPS_CONFIG}
}