コンテンツにスキップ
per page, with , order by , clip by
Results of 1 - 6 of about 6 for Traefik (0.002 sec.)
Behind a Proxy 13179
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 ... vers" : [ { "url" : "/api/v1" } ], "paths" : { // More stuff here } } In this example, the "Proxy" could be something like Traefik . And the server would be something like FastAPI CLI with Uvicorn , running your FastAPI application. Providing the root_p ... out a stripped path prefix) would access Uvicorn at the same path: http://127.0.0.1:8000/api/v1/app . Testing locally with Traefik You can easily run the experiment locally with a stripped path prefix using Traefik . Download Traefik , it's a single bin ... ary, you can extract the compressed file and run it directly from the terminal. Then create a file traefik.toml with: [entryPoints] [entryPoints.http] address = ":9999" [providers] [providers.file] filename = "routes.toml" This t ...
https://man.mtool.work/fastapi/0.115/advanced/behind-a-proxy/
コンテナ内のFastAPI - Docker 8646
コンテナ内のFastAPI - Docker FastAPIアプリケーションをデプロイする場合、一般的なアプローチは Linuxコンテナ・イメージ をビルドすることです。 基本的には Docker を用いて行われます。生成されたコンテナ・イメージは、いくつかの方法のいずれかでデプ ... /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-headers"] コンテナとは ... はずです: . ├── app │ ├── __init__.py │ └── main.py ├── Dockerfile └── requirements.txt TLS Termination Proxyの裏側 Nginx や Traefik のような TLS Termination Proxy (ロードバランサ) の後ろでコンテナを動かしている場合は、 --proxy-headers オプションを追加しま ... イメージ (および後で実行中の コンテナ )だけに焦点を当てると、通常、HTTPSは別のツールを用いて 外部で 処理されます。 例えば Traefik のように、 HTTPS と 証明書 の 自動 取得を扱う別のコンテナである可能性もあります。 Tip TraefikはDockerやKubernetesなどと統合 ...
https://man.mtool.work/fastapi/0.115/deployment/docker/
プロジェクト生成 - テンプレート 8646
プロジェクト生成 - テンプレート プロジェクトジェネレーターは、初期設定、セキュリティ、データベース、初期APIエンドポイントなどの多くが含まれているため、プロジェクトの開始に利用できます。 プロジェクトジェネレーターは常に非常に意見が分かれる設 ... reSQLデータベースのための PGAdmin 。(PHPMyAdminとMySQLを使用できるように簡単に変更可能) Celeryジョブ監視のための Flower 。 Traefik を使用してフロントエンドとバックエンド間をロードバランシング。同一ドメインに配置しパスで区切る、ただし、異なるコンテナで処 ... 理。 Traefik統合。Let's Encrypt HTTPS 証明書の自動生成を含む。 GitLab CI (継続的インテグレーション)。フロントエンドおよびバックエンドテス ...
https://man.mtool.work/fastapi/0.115/project-generation/
セキュリティ入門 8225
セキュリティ入門 セキュリティ、認証、認可を扱うには多くの方法があります。 そして、通常、それは複雑で「難しい」トピックです。 多くのフレームワークやシステムでは、セキュリティと認証を処理するだけで、膨大な労力とコードが必要になります(多くの場 ... 通信を暗号化する方法を指定せず、アプリケーションがHTTPSで提供されることを想定しています。 豆知識 デプロイ のセクションでは、TraefikとLet's Encryptを使用して、無料でHTTPSを設定する方法が紹介されています。 OpenID Connect OpenID Connectは、 OAuth2 をベースに ...
https://man.mtool.work/fastapi/0.115/tutorial/security/
HTTPS について 8079
HTTPS について HTTPSは単に「有効」か「無効」かで決まるものだと思いがちです。 しかし、それよりもはるかに複雑です。 Tip もし急いでいたり、HTTPSの仕組みについて気にしないのであれば、次のセクションに進み、さまざまなテクニックを使ってすべてをセッ ... はしばしば TLS Termination Proxy と呼ばれます。 TLS Termination Proxyとして使えるオプションには、以下のようなものがあります: Traefik(証明書の更新も対応) Caddy (証明書の更新も対応) Nginx HAProxy Let's Encrypt Let's Encrypt以前は、これらの HTTPS証明書 は信 ...
https://man.mtool.work/fastapi/0.115/deployment/https/
デプロイメントのコンセプト 8006
デプロイメントのコンセプト FastAPI を用いたアプリケーションをデプロイするとき、もしくはどのようなタイプのWeb APIであっても、おそらく気になるコンセプトがいくつかあります。 それらを活用することでアプリケーションを デプロイするための最適な方法 ... ントが担当することもあります。 HTTPS 用ツールの例 TLS Termination Proxyとして使用できるツールには以下のようなものがあります: Traefik 証明書の更新を自動的に処理 ✨ Caddy 証明書の更新を自動的に処理 ✨ Nginx 証明書更新のためにCertbotのような外部コンポーネントを ...
https://man.mtool.work/fastapi/0.115/deployment/concepts/
PREV 1 NEXT