Skip to content

Trusted hosts when deploying on platform.sh #2561

@edwh

Description

@edwh

I'm new to API Platform. I've followed the instructions got a simple test application, which works on Docker. I've deployed it to platform.sh. I'm new to platform.sh too.

Right now I'm getting an error like this:

Untrusted Host "api.master-7rqtwti-24c2sfaqptb22.eu-2.platformsh.site"

I'm not sure what the correct fix is. I want the API to be generally accessible, but there's various scare stuff about allowing unrestricted access (e.g. here), and I can't see anything in the Symfony4 template which disables that check.

Any help appreciated.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions