Adding X-Real-IP
This commit is contained in:
parent
2314484796
commit
50a271e3f6
@ -6,4 +6,4 @@ WORKDIR /go/src/app
|
|||||||
RUN git clone https://github.com/KrustyHack/ipd.git . && \
|
RUN git clone https://github.com/KrustyHack/ipd.git . && \
|
||||||
go get github.com/martinp/ipd
|
go get github.com/martinp/ipd
|
||||||
EXPOSE 8080
|
EXPOSE 8080
|
||||||
CMD ["ipd"]
|
CMD ["ipd --trusted-header=X-Real-IP"]
|
||||||
|
Loading…
Reference in New Issue
Block a user