Set waitress-serve to accept proxy headers
This commit is contained in:
parent
8911621d50
commit
6e568394bf
1 changed files with 1 additions and 1 deletions
|
@ -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" ]
|
Loading…
Add table
Reference in a new issue