-
Notifications
You must be signed in to change notification settings - Fork 156
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Allow getting IP address from "X-Real-Ip", "X-Forwarded-For" headers (#…
…45) (joshdvir) * adding check ip behind lb using headers * bug fix * missed ip * error * fix location of ip * tests * no need
- Loading branch information
Showing
3 changed files
with
140 additions
and
5 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 |
---|---|---|
@@ -1,4 +1,4 @@ | ||
FROM debian:stretch as builder | ||
FROM debian:buster as builder | ||
RUN DEBIAN_FRONTEND=noninteractive apt-get update && \ | ||
apt-get install -q -y golang git-core && \ | ||
apt-get clean | ||
|
@@ -8,7 +8,7 @@ RUN mkdir -p /root/go/src | |
COPY rest-api /root/go/src/dyndns | ||
RUN cd /root/go/src/dyndns && go get && go test -v | ||
|
||
FROM debian:stretch | ||
FROM debian:buster-slim | ||
MAINTAINER David Prandzioch <[email protected]> | ||
|
||
RUN DEBIAN_FRONTEND=noninteractive apt-get update && \ | ||
|
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 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