Browse Source

Merge pull request #11498 from tcgumus/patch-2

Add SSL Integration Comments and WebSocket Auto-Fix in start_windows.bat
Timothy Jaeryang Baek 2 tháng trước cách đây
mục cha
commit
16c383ab44
1 tập tin đã thay đổi với 2 bổ sung1 xóa
  1. 2 1
      backend/start_windows.bat

+ 2 - 1
backend/start_windows.bat

@@ -41,4 +41,5 @@ IF "%WEBUI_SECRET_KEY%%WEBUI_JWT_SECRET_KEY%" == " " (
 
 :: Execute uvicorn
 SET "WEBUI_SECRET_KEY=%WEBUI_SECRET_KEY%"
-uvicorn open_webui.main:app --host "%HOST%" --port "%PORT%" --forwarded-allow-ips '*'
+uvicorn open_webui.main:app --host "%HOST%" --port "%PORT%" --forwarded-allow-ips '*' --ws auto
+:: For ssl user uvicorn open_webui.main:app --host "%HOST%" --port "%PORT%" --forwarded-allow-ips '*' --ssl-keyfile "key.pem" --ssl-certfile "cert.pem" --ws auto