awslabs / aws-lambda-go-api-proxy

lambda-go-api-proxy makes it easy to port APIs written with Go frameworks such as Gin (https://gin-gonic.github.io/gin/ ) to AWS Lambda and Amazon API Gateway.
Apache License 2.0
1.05k stars 197 forks source link

Custom host #21

Closed sapessi closed 5 years ago

sapessi commented 5 years ago

Added the ability to customize the hostname for the request with the GO_API_HOST environment variable. The variable should contain both a protocol and host. For example http://my-custom-host.com

Issue #, if available: #13

Description of changes:

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.