Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for Sterling (3.3 sec)

  1. docs/en/docs/deployment/docker.md

    If you are running your container behind a TLS Termination Proxy (load balancer) like Nginx or Traefik, add the option `--proxy-headers`, this will tell Uvicorn (through the FastAPI CLI) to trust the headers sent by that proxy telling it that the application is running behind HTTPS, etc.
    
    ```Dockerfile
    CMD ["fastapi", "run", "app/main.py", "--proxy-headers", "--port", "80"]
    ```
    
    #### Docker Cache
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu May 02 22:37:31 GMT 2024
    - 34K bytes
    - Viewed (0)
Back to top