api gateway regional custom domain is not working

为君一笑 提交于 2019-12-05 23:31:09

问题


I'm testing to make mobile game server with AWS's Lambda and API gateway. At the API gateway, I try to make custom domain using 2 types endpoint, regional a.domain.com and edge optimized b.domain.com. The edge optimized endpoint is fine, it works.

But the regional endpoint is not working. it returns ERR_CONNECTION_REFUSED. the regional endpoint url can't submit to record set using aws console.

So I'm using aws-cli for editing record set in the route53.


回答1:


I had the same issue.

It appears that when using API Gateway with regional custom domains only HTTPS is supported and API Gateway does not redirect from HTTP to HTTPS.

So just use https://a.domain.com



来源:https://stackoverflow.com/questions/48306053/api-gateway-regional-custom-domain-is-not-working

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!