From 50a271e3f6a63e67c3b113ad360092243972bcf4 Mon Sep 17 00:00:00 2001 From: KrustyHack Date: Fri, 7 Oct 2016 13:41:07 +0000 Subject: [PATCH] Adding X-Real-IP --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 0a91f1e..2236089 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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"]