feat: uvicorn Proxy-Headers fuer Reverse-Proxy-Betrieb

This commit is contained in:
2026-07-21 07:14:53 +02:00
parent a575c57d5b
commit df5b29d8ff
2 changed files with 17 additions and 1 deletions

View 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