proxy headers
This commit is contained in:
4
run.py
4
run.py
@@ -26,7 +26,9 @@ def start(log_level: str):
|
|||||||
port=settings.PORT,
|
port=settings.PORT,
|
||||||
reload=False,
|
reload=False,
|
||||||
log_level=log_level,
|
log_level=log_level,
|
||||||
access_log=True
|
access_log=True,
|
||||||
|
proxy_headers=True,
|
||||||
|
forwarded_allow_ips="*",
|
||||||
)
|
)
|
||||||
|
|
||||||
parser = argparse.ArgumentParser(description="logging and admin creation")
|
parser = argparse.ArgumentParser(description="logging and admin creation")
|
||||||
|
|||||||
Reference in New Issue
Block a user