Set waitress-serve to accept proxy headers

This commit is contained in:
deflax 2025-02-06 15:25:13 +00:00
parent 8911621d50
commit 6e568394bf

View file

@ -19,4 +19,4 @@ COPY . .
EXPOSE 8080
CMD [ "waitress-serve", "--port=8080", "--threads=16", "--call", "api:create_app"]
CMD [ "waitress-serve", "--port=8080", "--trusted-proxy='*'", "--trusted-proxy-headers='x-forwarded-for x-forwarded-proto x-forwarded-port'", "--log-untrusted-proxy-headers", "--threads=16", "--call", "api:create_app" ]