- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for Main (0.15 sec)
-
docs/zh/docs/advanced/behind-a-proxy.md
} } ``` 本例中的 `Proxy` 是 **Traefik**,`server` 是运行 FastAPI 应用的 **Uvicorn**。 ### 提供 `root_path` 为此,要以如下方式使用命令行选项 `--root-path`: <div class="termy"> ```console $ uvicorn main:app --root-path /api/v1 <span style="color: green;">INFO</span>: Uvicorn running on http://127.0.0.1:8000 (Press CTRL+C to quit) ``` </div> Hypercorn 也支持 `--root-path `选项。 !!! note "技术细节"
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Thu Apr 18 19:53:19 GMT 2024 - 10.4K bytes - Viewed (0) -
docs/en/docs/advanced/behind-a-proxy.md
### Providing the `root_path` To achieve this, you can use the command line option `--root-path` like: <div class="termy"> ```console $ fastapi run main.py --root-path /api/v1 <span style="color: green;">INFO</span>: Uvicorn running on http://127.0.0.1:8000 (Press CTRL+C to quit) ``` </div> If you use Hypercorn, it also has the option `--root-path`.
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Thu May 02 22:37:31 GMT 2024 - 11.6K bytes - Viewed (2) -
docs/em/docs/advanced/behind-a-proxy.md
} ``` 👉 🖼, "🗳" 💪 🕳 💖 **Traefik**. & 💽 🔜 🕳 💖 **Uvicorn**, 🏃♂ 👆 FastAPI 🈸. ### 🚚 `root_path` 🏆 👉, 👆 💪 ⚙️ 📋 ⏸ 🎛 `--root-path` 💖: <div class="termy"> ```console $ uvicorn main:app --root-path /api/v1 <span style="color: green;">INFO</span>: Uvicorn running on http://127.0.0.1:8000 (Press CTRL+C to quit) ``` </div> 🚥 👆 ⚙️ Hypercorn, ⚫️ ✔️ 🎛 `--root-path`. !!! note "📡 ℹ"
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Thu Apr 18 19:53:19 GMT 2024 - 10.1K bytes - Viewed (0)