Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for caption (0.16 sec)

  1. 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`.
    
    !!! note "Technical Details"
    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)
  2. docs/de/docs/advanced/behind-a-proxy.md

    ```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>
    
    Falls Sie Hypercorn verwenden, das hat auch die Option `--root-path`.
    
    !!! note "Technische Details"
        Die ASGI-Spezifikation definiert einen `root_path` für diesen Anwendungsfall.
    
        Und die Kommandozeilenoption `--root-path` stellt diesen `root_path` bereit.
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Sat Mar 30 20:30:07 GMT 2024
    - 13.1K bytes
    - Viewed (0)
Back to top