Self Checks
Dify version
1.4.1
Cloud or Self Hosted
Self Hosted (Docker)
Steps to reproduce
Self Checks
Dify version
1.4.1 (Self-hosted via Docker)
Deployment type
Self-hosted VPS (ConoHa)
Problem description
After successfully setting up SSL (HTTPS) and accessing https://sora-chat.shop/install, the UI loads but the API call to:
GET https://sora-chat.shop/console/api/setup
returns 404 Not Found, and browser shows:
SyntaxError: Unexpected token '<', "<!doctype "... is not valid JSON
This causes the install screen to freeze.
What I tried
- Confirmed that API container is running and accessible on
http://api:5001
NEXT_PUBLIC_API_PREFIX=https://sora-chat.shop/api is correctly passed to the web container
- All volumes and environment variables are aligned per official instructions
docker-compose.yml, default.conf, and .env are configured as per https guide
Screenshot
← GitHubに画像アップ後、リンク差し替えてください
Logs
docker compose logs api shows API is booting successfully
docker compose logs nginx shows Nginx is routing
Request
Please clarify:
- Should the frontend be calling
/console/api/setup?
- If yes, how should
default.conf be configured to route this properly?
Thank you!
✔️ Expected Behavior
No response
❌ Actual Behavior
No response
Self Checks
Dify version
1.4.1
Cloud or Self Hosted
Self Hosted (Docker)
Steps to reproduce
Self Checks
Dify version
1.4.1 (Self-hosted via Docker)
Deployment type
Self-hosted VPS (ConoHa)
Problem description
After successfully setting up SSL (HTTPS) and accessing
https://sora-chat.shop/install, the UI loads but the API call to:GET https://sora-chat.shop/console/api/setup
returns 404 Not Found, and browser shows:
SyntaxError: Unexpected token '<', "<!doctype "... is not valid JSON
This causes the install screen to freeze.
What I tried
http://api:5001NEXT_PUBLIC_API_PREFIX=https://sora-chat.shop/apiis correctly passed to the web containerdocker-compose.yml,default.conf, and.envare configured as per https guideScreenshot
Logs
docker compose logs apishows API is booting successfullydocker compose logs nginxshows Nginx is routingRequest
Please clarify:
/console/api/setup?default.confbe configured to route this properly?Thank you!
✔️ Expected Behavior
No response
❌ Actual Behavior
No response