Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 12 for unprefixes (5.02 sec)

  1. docs/en/docs/tutorial/bigger-applications.md

    <img src="/img/tutorial/bigger-applications/image01.png">
    
    ## Include the same router multiple times with different `prefix`
    
    You can also use `.include_router()` multiple times with the *same* router using different prefixes.
    
    This could be useful, for example, to expose the same API under different prefixes, e.g. `/api/v1` and `/api/latest`.
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 18.6K bytes
    - Viewed (0)
  2. docs/zh/docs/advanced/behind-a-proxy.md

        使用端口 9999 代替标准的 HTTP 端口 80,这样就不必使用管理员权限运行(`sudo`)。
    
    接下来,创建 `routes.toml`:
    
    ```TOML hl_lines="5  12  20"
    [http]
      [http.middlewares]
    
        [http.middlewares.api-stripprefix.stripPrefix]
          prefixes = ["/api/v1"]
    
      [http.routers]
    
        [http.routers.app-http]
          entryPoints = ["http"]
          service = "app"
          rule = "PathPrefix(`/api/v1`)"
          middlewares = ["api-stripprefix"]
    
    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)
  3. docs/de/docs/advanced/behind-a-proxy.md

    Erstellen Sie nun die andere Datei `routes.toml`:
    
    ```TOML hl_lines="5  12  20"
    [http]
      [http.middlewares]
    
        [http.middlewares.api-stripprefix.stripPrefix]
          prefixes = ["/api/v1"]
    
      [http.routers]
    
        [http.routers.app-http]
          entryPoints = ["http"]
          service = "app"
          rule = "PathPrefix(`/api/v1`)"
          middlewares = ["api-stripprefix"]
    
    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)
  4. common-protos/k8s.io/api/flowcontrol/v1beta2/generated.proto

      // "*" matches all verbs. If it is present, it must be the only entry.
      // +listType=set
      // Required.
      repeated string verbs = 1;
    
      // `nonResourceURLs` is a set of url prefixes that a user should have access to and may not be empty.
      // For example:
      //   - "/healthz" is legal
      //   - "/hea*" is illegal
      //   - "/hea" is legal but matches nothing
      //   - "/hea/*" also matches nothing
    Plain Text
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Mon Mar 11 18:43:24 GMT 2024
    - 19.4K bytes
    - Viewed (0)
  5. common-protos/k8s.io/api/flowcontrol/v1alpha1/generated.proto

      // "*" matches all verbs. If it is present, it must be the only entry.
      // +listType=set
      // Required.
      repeated string verbs = 1;
    
      // `nonResourceURLs` is a set of url prefixes that a user should have access to and may not be empty.
      // For example:
      //   - "/healthz" is legal
      //   - "/hea*" is illegal
      //   - "/hea" is legal but matches nothing
      //   - "/hea/*" also matches nothing
    Plain Text
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Mon Mar 11 18:43:24 GMT 2024
    - 19.4K bytes
    - Viewed (0)
  6. common-protos/k8s.io/api/flowcontrol/v1beta1/generated.proto

      // "*" matches all verbs. If it is present, it must be the only entry.
      // +listType=set
      // Required.
      repeated string verbs = 1;
    
      // `nonResourceURLs` is a set of url prefixes that a user should have access to and may not be empty.
      // For example:
      //   - "/healthz" is legal
      //   - "/hea*" is illegal
      //   - "/hea" is legal but matches nothing
      //   - "/hea/*" also matches nothing
    Plain Text
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Mon Mar 11 18:43:24 GMT 2024
    - 19.4K bytes
    - Viewed (0)
  7. common-protos/k8s.io/api/flowcontrol/v1beta3/generated.proto

      // "*" matches all verbs. If it is present, it must be the only entry.
      // +listType=set
      // Required.
      repeated string verbs = 1;
    
      // `nonResourceURLs` is a set of url prefixes that a user should have access to and may not be empty.
      // For example:
      //   - "/healthz" is legal
      //   - "/hea*" is illegal
      //   - "/hea" is legal but matches nothing
      //   - "/hea/*" also matches nothing
    Plain Text
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Mon Mar 11 18:43:24 GMT 2024
    - 19.5K bytes
    - Viewed (0)
  8. docs/en/docs/advanced/behind-a-proxy.md

    Now create that other file `routes.toml`:
    
    ```TOML hl_lines="5  12  20"
    [http]
      [http.middlewares]
    
        [http.middlewares.api-stripprefix.stripPrefix]
          prefixes = ["/api/v1"]
    
      [http.routers]
    
        [http.routers.app-http]
          entryPoints = ["http"]
          service = "app"
          rule = "PathPrefix(`/api/v1`)"
          middlewares = ["api-stripprefix"]
    
    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)
  9. docs/em/docs/advanced/behind-a-proxy.md

    🔜 ✍ 👈 🎏 📁 `routes.toml`:
    
    ```TOML hl_lines="5  12  20"
    [http]
      [http.middlewares]
    
        [http.middlewares.api-stripprefix.stripPrefix]
          prefixes = ["/api/v1"]
    
      [http.routers]
    
        [http.routers.app-http]
          entryPoints = ["http"]
          service = "app"
          rule = "PathPrefix(`/api/v1`)"
          middlewares = ["api-stripprefix"]
    
    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)
  10. docs/en/docs/release-notes.md

        * This also adds the possibility of using `.include_router()` with the same `APIRouter` *multiple*  times, with different prefixes, e.g. `/api/v2` and `/api/latest`, and it will now work correctly.
        * PR [#347](https://github.com/tiangolo/fastapi/pull/347).
    
    ## 0.31.0
    
    * Upgrade Pydantic supported version to `0.29.0`.
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Fri May 03 23:25:42 GMT 2024
    - 388.1K bytes
    - Viewed (1)
Back to top