Skip to content

[Bug]: Strapi "host is not allowed" error #5443

@vlntsolo

Description

@vlntsolo

Error Message and Logs

Latest version of Strapi image doesn't work after deployment. Admin panel always returns host error:

Blocked request. This host ("cms.xxx.app") is not allowed.
To allow this host, add "cms.xxx.app" to `server.allowedHosts` in vite.config.js.

Steps to Reproduce

  1. Deploy Strapi instance from Coolify marketplace template
  2. Try accessing Strapi instance host / domain

Example Repository URL

No response

Coolify Version

v4.0.0-beta.400

Are you using Coolify Cloud?

No (self-hosted)

Operating System and Version (self-hosted)

Debian 6.1.128-1 (2025-02-07) x86_64

Additional Information

Error appears on both generic and custom domains.
I was able to deploy Strapi before on the same Coolify instance.

Metadata

Metadata

Assignees

No one assigned

    Labels

    ⚙️ ServiceIssues requesting or PRs adding/fixing service templates.🐛 Possible BugReported issues that need to be reproduced by the team.🔍 TriageIssues that need assessment and prioritization.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions