From 6b1d3e1c43aca0e378a2ce6e10c1a5cfd2c62af0 Mon Sep 17 00:00:00 2001 From: Kalo Chin Date: Tue, 29 Apr 2025 08:30:25 +0900 Subject: [PATCH] chore: Improve FILES_URL Configuration Comments --- docker/.env.example | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/docker/.env.example b/docker/.env.example index 83d975cec5..437c1199f1 100644 --- a/docker/.env.example +++ b/docker/.env.example @@ -39,6 +39,15 @@ APP_WEB_URL= # File preview or download Url prefix. # used to display File preview or download Url to the front-end or as Multi-model inputs; # Url is signed and has expiration time. +# +# Set FILES_URL based on how you access the Dify server: +# - For https://example.com, use FILES_URL=https://example.com +# - For http://example.com, use FILES_URL=http://example.com +# +# Recommendation: configure a dedicated domain (e.g., https://upload.example.com). +# +# Alternatively, use http://:5001 or http://api:5001, +# ensuring that port 5001 is externally accessible (see docker-compose.yaml). FILES_URL= # ------------------------------