Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for production (0.2 sec)

  1. docs/en/docs/advanced/behind-a-proxy.md

    By default, **FastAPI** will create a `server` in the OpenAPI schema with the URL for the `root_path`.
    
    But you can also provide other alternative `servers`, for example if you want *the same* docs UI to interact with a staging and production environments.
    
    If you pass a custom list of `servers` and there's a `root_path` (because your API lives behind a proxy), **FastAPI** will insert a "server" with this `root_path` at the beginning of the list.
    
    For example:
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 11.6K bytes
    - Viewed (2)
  2. docs/de/docs/advanced/behind-a-proxy.md

            {
                "url": "https://stag.example.com",
                "description": "Staging environment"
            },
            {
                "url": "https://prod.example.com",
                "description": "Production environment"
            }
        ],
        "paths": {
                // Hier mehr Einstellungen
        }
    }
    ```
    
    !!! tip "Tipp"
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Sat Mar 30 20:30:07 GMT 2024
    - 13.1K bytes
    - Viewed (0)
  3. docs/em/docs/advanced/behind-a-proxy.md

            {
                "url": "https://stag.example.com",
                "description": "Staging environment"
            },
            {
                "url": "https://prod.example.com",
                "description": "Production environment"
            }
        ],
        "paths": {
                // More stuff here
        }
    }
    ```
    
    !!! tip
        👀 🚘-🏗 💽 ⏮️ `url` 💲 `/api/v1`, ✊ ⚪️➡️ `root_path`.
    
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 10.1K bytes
    - Viewed (0)
  4. docs/zh/docs/advanced/behind-a-proxy.md

            {
                "url": "https://stag.example.com",
                "description": "Staging environment"
            },
            {
                "url": "https://prod.example.com",
                "description": "Production environment"
            }
        ],
        "paths": {
                // More stuff here
        }
    }
    ```
    
    !!! tip "提示"
    
        注意,自动生成服务器时,`url` 的值 `/api/v1` 提取自 `roog_path`。
    
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 10.4K bytes
    - Viewed (0)
Back to top