Исправление работы с реверс прокси

This commit is contained in:
2025-12-22 12:24:34 +03:00
parent 1141cf5e66
commit 49d1681bcb
4 changed files with 5 additions and 3 deletions
+1 -1
View File
@@ -23,7 +23,7 @@ services:
build: .
container_name: api
restart: unless-stopped
command: bash -c "uvicorn library_service.main:app --host 0.0.0.0 --port 8000"
command: bash -c "uvicorn library_service.main:app --host 0.0.0.0 --port 8000 --forwarded-allow-ips=\"*\""
logging:
options:
max-size: "10m"