From 3257734b0dcce7a37dce4539ed7d32bc49ecf76b Mon Sep 17 00:00:00 2001 From: nexy7574 Date: Wed, 17 Apr 2024 16:40:11 +0100 Subject: [PATCH] Allow forwarding IPs --- Dockerfile | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index b9036e2..c68bd35 100644 --- a/Dockerfile +++ b/Dockerfile @@ -4,5 +4,4 @@ WORKDIR /app COPY ipserv.py /app EXPOSE 8000 RUN pip install flask requests gunicorn -CMD ["gunicorn", "-w", "4", "-b", "0.0.0.0", "ipserv:app"] - \ No newline at end of file +CMD ["gunicorn", "-w", "4", "-b", "0.0.0.0", "--forwarded-allow-ips", "*", "ipserv:app"] \ No newline at end of file