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.