Replies: 5 comments
-
Hello, Where do you see this error? Did you tried the official instructions provided by Platform.sh? https://platform.sh/blog/deploy-api-platform-on-platformsh |
Beta Was this translation helpful? Give feedback.
-
I see that error when I try to access the API app. Yes, I followed
those instructions.
…------ Original Message ------
From: "Kévin Dunglas" <[email protected]>
To: "api-platform/core" <[email protected]>
Cc: "Edward Hibbert" <[email protected]>; "Author"
<[email protected]>
Sent: 26/02/2019 21:33:27
Subject: Re: [api-platform/core] Trusted hosts when deploying on
platform.sh (#2561)
Hello,
Where do you see this error? Did you tried the official instructions
provided by Platform.sh?
https://platform.sh/blog/deploy-api-platform-on-platformsh
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#2561 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AADdeCN5HLCTtRBOd4GGMFLNrr4desOCks5vRagngaJpZM4bTJOt>.
|
Beta Was this translation helpful? Give feedback.
-
Maybe should you get in touch with Platform.sh's support? |
Beta Was this translation helpful? Give feedback.
-
It means that Symfony is seeing that in the HTTP |
Beta Was this translation helpful? Give feedback.
-
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
Beta Was this translation helpful? Give feedback.
-
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.
Beta Was this translation helpful? Give feedback.
All reactions