fix(windows): remove --forwarded-allow-ips from uvicorn CLI args

This commit is contained in:
flobo3 2026-04-22 19:36:24 +03:00
parent f62028fce3
commit 2ee49bbe55

View file

@ -47,5 +47,5 @@ IF "%WEBUI_SECRET_KEY% %WEBUI_JWT_SECRET_KEY%" == " " (
:: Execute uvicorn
SET "WEBUI_SECRET_KEY=%WEBUI_SECRET_KEY%"
IF "%UVICORN_WORKERS%"=="" SET UVICORN_WORKERS=1
uvicorn open_webui.main:app --host "%HOST%" --port "%PORT%" --forwarded-allow-ips !FORWARDED_ALLOW_IPS! --workers %UVICORN_WORKERS% --ws auto
:: For ssl use: uvicorn open_webui.main:app --host "%HOST%" --port "%PORT%" --forwarded-allow-ips !FORWARDED_ALLOW_IPS! --ssl-keyfile "key.pem" --ssl-certfile "cert.pem" --ws auto
uvicorn open_webui.main:app --host "%HOST%" --port "%PORT%" --workers %UVICORN_WORKERS% --ws auto
:: For ssl use: uvicorn open_webui.main:app --host "%HOST%" --port "%PORT%" --ssl-keyfile "key.pem" --ssl-certfile "cert.pem" --ws auto