Adding X-Real-IP

This commit is contained in:
KrustyHack 2016-10-07 13:41:07 +00:00
parent 2314484796
commit 50a271e3f6

View File

@ -6,4 +6,4 @@ WORKDIR /go/src/app
RUN git clone https://github.com/KrustyHack/ipd.git . && \
go get github.com/martinp/ipd
EXPOSE 8080
CMD ["ipd"]
CMD ["ipd --trusted-header=X-Real-IP"]