Skip to content

Commit

Permalink
Merge pull request #138 from CommunityHoneyNetwork/port_strip
Browse files Browse the repository at this point in the history
In which our hero uses fancy braces expansion
  • Loading branch information
JesseBowling authored Jun 14, 2019
2 parents 57fcb94 + e4a8228 commit 09681e7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions nginx.run
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ trap "exit 143" SIGTERM
PIDFILE=/var/run/nginx.pid
SERVER_BASE_URL=${SERVER_BASE_URL:-http://$(curl http://httpbin.org/ip | jq -r .origin)}
SERVER=$(echo ${SERVER_BASE_URL} | awk -F/ '{print $3}')
SERVER="${SERVER%%:*}"

# Should we be doing this this way?
# What should we do to cleanup in a container?
Expand Down

0 comments on commit 09681e7

Please sign in to comment.