Additional information

1. Link to details on what and how to include information in a .env file
2. Clarify how to activate the FORWARDED_ALLOW_IPS environment variable for those situations where the proxy is not at the default 127.0.0.1 (most often inside a Docker container.
This commit is contained in:
HamishMacEwan 2023-01-15 14:46:19 +13:00 committed by GitHub
parent 265ea16d30
commit 2eb76d0e26
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,7 +1,9 @@
#For more information on .env files, their content and format: https://pypi.org/project/python-dotenv/
HOST=127.0.0.1 HOST=127.0.0.1
PORT=5000 PORT=5000
# uvicorn variable, allow https behind a proxy # uvicorn variable, uncomment to allow https behind a proxy
# FORWARDED_ALLOW_IPS="*" # FORWARDED_ALLOW_IPS="*"
DEBUG=false DEBUG=false