mirror of
https://github.com/open-webui/open-webui.git
synced 2026-10-25 05:54:29 +00:00
fix(windows): remove --forwarded-allow-ips from uvicorn CLI args
This commit is contained in:
parent
f62028fce3
commit
2ee49bbe55
1 changed files with 2 additions and 2 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue