From 264b4d4369833a4cea2c34168534c7942e0945ca Mon Sep 17 00:00:00 2001 From: "Brett M. Morris" Date: Fri, 3 Jan 2025 14:45:33 -0500 Subject: [PATCH] bugfix: docs for self-hosted solara instances --- .../getting_started/content/07-deploying/10-self-hosted.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/solara/website/pages/documentation/getting_started/content/07-deploying/10-self-hosted.md b/solara/website/pages/documentation/getting_started/content/07-deploying/10-self-hosted.md index efe35e100..e5e5a31df 100644 --- a/solara/website/pages/documentation/getting_started/content/07-deploying/10-self-hosted.md +++ b/solara/website/pages/documentation/getting_started/content/07-deploying/10-self-hosted.md @@ -255,7 +255,7 @@ server { An alternative to using the `X-Script-Name` header with uvicorn, would be to pass the `--root-path` flag, e.g.: ``` -$ SOLARA_APP=sol.py uvicorn --workers 1 --root-path /solara -b 0.0.0.0:8765 solara.server.starlette:app +$ SOLARA_APP=sol.py uvicorn --workers 2 --root-path /solara --host 0.0.0.0 --port 8765 solara.server.starlette:app ``` In the case of an [OAuth setup](https://solara.dev/documentation/advanced/enterprise/oauth) it is important to make sure that the `X-Forwarded-Proto` and `Host` headers are forwarded correctly.