コンテンツにスキップ
per page, with , order by , clip by
Results of 1 - 8 of about 8 for Proxy (0.004 sec.)
Behind a Proxy 13194
Behind a Proxy Warning The current page still doesn't have a translation for this language. But you can help translating it: Contributing . In some situations, you might need to use a proxy server like Traefik or Nginx with a configuration ... ette). The root_path is used to handle these specific cases. And it's also used internally when mounting sub-applications. Proxy with a stripped path prefix Having a proxy with a stripped path prefix, in this case, means that you could declare a path ... at /app in your code, but then, you add a layer on top (the proxy) that would put your FastAPI application under a path like /api/v1 . In this case, the original path /app would actually b ... n ( request : Request ): return { "message" : "Hello World" , "root_path" : request . scope . get ( "root_path" )} And the proxy would be "stripping" the path prefix on the fly before transmitting the request to the app server (probably Uvicorn via Fa ...
https://man.mtool.work/fastapi/0.115/advanced/behind-a-proxy/
HTTPS について 10609
HTTPS について HTTPSは単に「有効」か「無効」かで決まるものだと思いがちです。 しかし、それよりもはるかに複雑です。 Tip もし急いでいたり、HTTPSの仕組みについて気にしないのであれば、次のセクションに進み、さまざまなテクニックを使ってすべてをセッ ... PS 証明書 を使用して 暗号化 し、そして HTTPS を使用してクライアントに送り返します。 このサーバーはしばしば TLS Termination Proxy と呼ばれます。 TLS Termination Proxyとして使えるオプションには、以下のようなものがあります: Traefik(証明書の更新も対応) ... Caddy (証明書の更新も対応) Nginx HAProxy Let's Encrypt Let's Encrypt以前は、これらの HTTPS証明書 は信頼できる第三者によって販売されていました。 これらの証明書を取得 ... り、これが必要なポートです。 このポートをリッスンできるのは1つのプロセスだけなので、これを実行するプロセスは TLS Termination Proxy となります。 TLS Termination Proxyは、1つ以上の TLS証明書 (HTTPS証明書)にアクセスできます。 前述した SNI拡張機能 を使用し ...
https://man.mtool.work/fastapi/0.115/deployment/https/
コンテナ内のFastAPI - Docker 8874
コンテナ内のFastAPI - Docker FastAPIアプリケーションをデプロイする場合、一般的なアプローチは Linuxコンテナ・イメージ をビルドすることです。 基本的には Docker を用いて行われます。生成されたコンテナ・イメージは、いくつかの方法のいずれかでデプ ... txt COPY ./app /code/app CMD [ "uvicorn" , "app.main:app" , "--host" , "0.0.0.0" , "--port" , "80" ] # If running behind a proxy like Nginx or Traefik add --proxy-headers # CMD ["uvicorn", "app.main:app", "--host", "0.0.0.0", "--port", "80", "--proxy- ... ィレクトリ構造になるはずです: . ├── app │ ├── __init__.py │ └── main.py ├── Dockerfile └── requirements.txt TLS Termination Proxyの裏側 Nginx や Traefik のような TLS Termination Proxy (ロードバランサ) の後ろでコンテナを動かしている場合は、 --proxy-heade ... PSで動作しているアプリケーションに対して、送信されるヘッダを信頼するよう指示します。 CMD [ "uvicorn" , "app.main:app" , "--proxy-headers" , "--host" , "0.0.0.0" , "--port" , "80" ] Dockerキャッシュ この Dockerfile には重要なトリックがあり、まず 依存関 ...
https://man.mtool.work/fastapi/0.115/deployment/docker/
Including WSGI - Flask, Django, others 8025
Including WSGI - Flask, Django, others Warning The current page still doesn't have a translation for this language. But you can help translating it: Contributing . You can mount WSGI applications as you saw with Sub Applications - Mounts , ... Behind a Proxy . For that, you can use the WSGIMiddleware and use it to wrap your WSGI application, for example, Flask, Django, etc. Usin ...
https://man.mtool.work/fastapi/0.115/advanced/wsgi/
デプロイメントのコンセプト 7988
デプロイメントのコンセプト FastAPI を用いたアプリケーションをデプロイするとき、もしくはどのようなタイプのWeb APIであっても、おそらく気になるコンセプトがいくつかあります。 それらを活用することでアプリケーションを デプロイするための最適な方法 ... うにAPIを暗号化するのかについて学びました。 通常、アプリケーションサーバにとって 外部の コンポーネントである TLS Termination Proxy によって提供されることが一般的です。このプロキシは通信の暗号化を担当します。 さらにセキュアな通信において、HTTPS証明書の定 ... 期的な更新を行いますが、これはTLS Termination Proxyと同じコンポーネントが担当することもあれば、別のコンポーネントが担当することもあります。 HTTPS 用ツールの例 TLS Termination ... の更新を自動的に処理 ✨ Caddy 証明書の更新を自動的に処理 ✨ Nginx 証明書更新のためにCertbotのような外部コンポーネントを使用 HAProxy 証明書更新のためにCertbotのような外部コンポーネントを使用 Nginx のような Ingress Controller を持つ Kubernetes 証明書の更新 ...
https://man.mtool.work/fastapi/0.115/deployment/concepts/
Sub Applications - Mounts 7862
Sub Applications - Mounts Warning The current page still doesn't have a translation for this language. But you can help translating it: Contributing . If you need to have two independent FastAPI applications, with their own independent Open ... t_path s automatically. You will learn more about the root_path and how to use it explicitly in the section about Behind a Proxy . ...
https://man.mtool.work/fastapi/0.115/advanced/sub-applications/
Release Notes 7862
Release Notes Latest Changes 0.115.11 Fixes ? Add docs examples and tests (support) for Annotated custom validations, like AfterValidator , revert #13440 . PR #13442 by @tiangolo . New docs: Query Parameters and String Validations - Custom ... ludes in docs/en/docs/tutorial/body.md . PR #12586 by @lucaromagnoli . ? Update includes in docs/en/docs/advanced/behind-a-proxy.md . PR #12583 by @imjuanleonard . ? Update includes syntax for docs/pl/docs/tutorial/first-steps.md . PR #12584 by @sebko ... docs/en/docs/advanced/async-tests.md . PR #12568 by @krishnamadhavan . ? Update includes in docs/pt/docs/advanced/behind-a-proxy.md . PR #12563 by @asmioglou . ? Update includes in docs/de/docs/advanced/security/http-basic-auth.md . PR #12561 by @Nimi ... y @bestony . ? Add Portuguese translation for docs/pt/docs/advanced/sub-applications.md and docs/pt/docs/advanced/behind-a-proxy.md . PR #11856 by @marcelomarkus . ? Add Portuguese translation for docs/pt/docs/tutorial/cors.md and docs/pt/docs/tutoria ...
https://man.mtool.work/fastapi/0.115/release-notes/
FastAPI CLI 7808
FastAPI CLI Warning The current page still doesn't have a translation for this language. But you can help translating it: Contributing . FastAPI CLI is a command line program that you can use to serve your FastAPI app, manage your FastAPI p ... would normally run it in production, for example, in a container. In most cases you would (and should) have a "termination proxy" handling HTTPS for you on top, this will depend on how you deploy your application, your provider might do this for you, ...
https://man.mtool.work/fastapi/0.115/fastapi-cli/
PREV 1 NEXT