diff --git a/docs/en/docs/advanced/behind-a-proxy.md b/docs/en/docs/advanced/behind-a-proxy.md index 12ce09bcb..707efe54d 100644 --- a/docs/en/docs/advanced/behind-a-proxy.md +++ b/docs/en/docs/advanced/behind-a-proxy.md @@ -423,7 +423,7 @@ $ fastapi run main.py --forwarded-allow-ips="*" --root-path /api/v1 -If you use Hypercorn, it also has the option `--root-path`. +If you use Hypercorn, it also has the `--root-path` option. Here's what happens in this setup: @@ -685,7 +685,7 @@ It's quite common mistake that people configure the ASGI server with `--root-pat When `root_path` is configured (using any of the methods described above), always make sure that: -* ✅ You are accessing your server via revers proxy +* ✅ You are accessing your server via reverse proxy * ✅ URL includes prefix ## Additional servers { #additional-servers }