Skip to content

Commit 2870c46

Browse files
committed
enable proxy headers on uvicorn command
1 parent 715dbd5 commit 2870c46

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

donation-api/Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -46,4 +46,4 @@ ENV APPLEPAY_MERCHANT_CERTIFICATE_PATH=/etc/ssl/certs/applepay_merchant.pem
4646
ENV APPLEPAY_MERCHANT_CERTIFICATE_KEY_PATH=/etc/ssl/certs/applepay_merchant.key
4747

4848
ENTRYPOINT ["/usr/bin/dumb-init", "--", "/usr/local/bin/entrypoint"]
49-
CMD ["uvicorn", "donation_api.entrypoint:app", "--host", "0.0.0.0", "--port", "80"]
49+
CMD ["uvicorn", "donation_api.entrypoint:app", "--host", "0.0.0.0", "--port", "80", "--proxy-headers", "--forwarded-allow-ips", "*"]

0 commit comments

Comments
 (0)