问题
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