提案ありがとうございます!@LotusJeff
SSL設定を確認しましたが、Let’s Encryptは使用していません。Cloudflareからオリジン証明書を生成し、キーと証明書をここに配置しました。
確認後、フルリビルドを実行しましたが、Cloudflareが「Full (Strict)」に設定されている場合、依然として521エラーが発生します。
参考までに、app.ymlのテンプレートセクションを以下に示します。
templates:
- "templates/postgres.template.yml"
- "templates/redis.template.yml"
- "templates/web.template.yml"
- "templates/web.ratelimited.template.yml"
## Let's Encrypt (https) を追加したい場合は、これらの2行のコメントを解除してください
- "templates/web.ssl.template.yml"
# - "templates/web.letsencrypt.ssl.template.yml"
- "templates/cloudflare.template.yml"
expose:
- "80:80" # http
- "443:443" # https
お手伝いいただくお時間をいただき、重ねて感謝いたします!