Fix: uvicorn --forwarded-allow-ips=* — echte Client-IP hinter NPM-Proxy sichtbar
Ohne dieses Flag sehen alle Container-Requests die NPM-Bridge-IP (192.168.160.x) als Client. Rate-Limits und Honeypot-Blocklist blockierten dadurch alle User gleichzeitig sobald ein einziger Trigger auftrat.
This commit is contained in:
parent
6ae6806baf
commit
8bf5a3960f
1 changed files with 1 additions and 1 deletions
|
|
@ -21,4 +21,4 @@ RUN mkdir -p /data/media/dogs /data/media/diary /data/media/poison \
|
|||
|
||||
EXPOSE 8000
|
||||
|
||||
CMD ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "8000", "--proxy-headers"]
|
||||
CMD ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "8000", "--proxy-headers", "--forwarded-allow-ips=*"]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue