Allow forwarding IPs
This commit is contained in:
parent
a55db863b0
commit
3257734b0d
1 changed files with 1 additions and 2 deletions
|
@ -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"]
|
||||
|
||||
CMD ["gunicorn", "-w", "4", "-b", "0.0.0.0", "--forwarded-allow-ips", "*", "ipserv:app"]
|
Reference in a new issue