-
Notifications
You must be signed in to change notification settings - Fork 116
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Amplify is not passing headers on custom domains #2173
Comments
Hi 👋, thanks for opening! While we look into this... If this issue is related to custom domains, be sure to check the custom domains troubleshooting guide to see if that helps. Also, there is a more general troubleshooting FAQ that may be helpful for other questions. Lastly, please make sure you've specified the |
It looks like you've made some changes since when you cut this issue. Namely, you are no longer hosting the custom domain on amplify and instead you own the distribution and are setting the amplify app as the origin. Are you still having issues? What were the header names that stopped being sent to the reverse proxy? |
Hi behrooziAWS, it was a production version I had to do changes. |
Custom headers are added to responses for custom domains as expected already. Closing this issue since it has been resolved. |
This issue is now closed. Comments on closed issues are hard for our team to see. |
This issue has been automatically locked. |
Before opening, please confirm:
App Id
demy2iltb613o
Region
us-east-2
Amplify Console feature
Custom headers
Describe the bug
Hi,
I have a reverse proxy from /api/<> to https://prod.linvo.io/<>
For some reason, it's not passing my custom headers.
I have 3 custom domains registered:
beta.linvo.io
dashboard.linvo.io
managers.linvo.io
Trying to access https://*.linvo.io/api/managers/self
Now here is the funny thing,
If I am using the provided domain, it works!
https://master.demy2iltb613o.amplifyapp.com/api/managers/self
The reverse proxy worked for the last 2 months.
This morning I woke up and it's failing.
This is a production version and honestly, I am not sure what to do.
Expected behavior
Proxy pass works like before without failing.
Reproduction steps
Register here:
https://managers.linvo.io/register
Login, and you will see the error.
https://managers.linvo.io/login
You can copy the request, change the domain to
https://master.demy2iltb613o.amplifyapp.com
And it will work.
Build Settings
Additional information
It was working for the last 2 months!
The text was updated successfully, but these errors were encountered: