feat: uvicorn Proxy-Headers fuer Reverse-Proxy-Betrieb
This commit is contained in:
9
finance/tests/test_entrypoint.py
Normal file
9
finance/tests/test_entrypoint.py
Normal file
@@ -0,0 +1,9 @@
|
||||
from pathlib import Path
|
||||
|
||||
ENTRYPOINT = Path(__file__).resolve().parent.parent / "entrypoint.sh"
|
||||
|
||||
|
||||
def test_entrypoint_enables_proxy_headers():
|
||||
text = ENTRYPOINT.read_text()
|
||||
assert "--proxy-headers" in text
|
||||
assert "--forwarded-allow-ips" in text
|
||||
Reference in New Issue
Block a user