waitress should trust all forwarded headers

This commit is contained in:
deflax 2025-02-06 15:34:07 +00:00
parent a80d39e8dc
commit 84cd5cc5fb

View file

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