-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Update to hit localhost This change will allow us to add 127.0.0.1 to the list or allowed hosts in Rails 6 * Turns out, go overwrites the Host header It looks at the requests Host property, and if it's not set it falls back to the URL's host * We don't need to change the ip when setting the host property
- Loading branch information
Showing
5 changed files
with
35 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
/elb_health_check | ||
/elb_health_check_* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
.PHONY: build | ||
build: | ||
go build -o elb_health_check . | ||
|
||
.PHONY: release | ||
release: | ||
GOOS=linux GOARCH=amd64 $(MAKE) build | ||
mv elb_health_check elb_health_check_linux_amd64 | ||
GOOS=linux GOARCH=386 $(MAKE) build | ||
mv elb_health_check elb_health_check_linux_386 | ||
GOOS=darwin GOARCH=amd64 $(MAKE) build | ||
mv elb_health_check elb_health_check_darwin_amd64 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
module github.com/bensie/elb_health_check_go | ||
|
||
go 1.12 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.