アプリ再構築後、サイトを操作できません。

🇨🇳 The IP address in Discourse’s user information shows CloudFlare’s IP address | Discourse 的用户信息中的 IP 地址显示的是 CloudFlare 的 IP 地址 のテンプレートを追加するためにアプリを再構築した後、

https://forum.beginner.center/ のサイトが操作できなくなっていることに気づきました。

ブラウザやコンピューター、サーバーの再起動を試みたり、別のブラウザに変更したりしましたが、依然として機能しません。

私の app.yml

## これはオールインワン、スタンドアロンの Discourse Docker コンテナテンプレートです
##
## このファイルに変更を加えた後は、必ず再構築が必要です
## /var/discourse/launcher rebuild app
##
## 編集する際は非常に注意してください!
## YAML ファイルは空白やアライメントの誤りに非常に非常に敏感です!
## 必要に応じて http://www.yamllint.com/ でこのファイルを検証してください

templates:
  - "templates/postgres.template.yml"
  - "templates/redis.template.yml"
  # - "templates/web.china.template.yml"
  - "templates/web.template.yml"
  ## 次の行のコメントアウトを外して IPv6 リスナーを有効化してください
  #- "templates/web.ipv6.template.yml"
  - "templates/web.ratelimited.template.yml"
  ## Lets Encrypt (https) を追加したい場合は、以下の 2 行のコメントアウトを外してください
  - "templates/web.ssl.template.yml"
  - "templates/web.letsencrypt.ssl.template.yml"
  # - "templates/cloudflare.template.yml" 
## このコンテナが公開すべき TCP/IP ポートはどれですか?
## Discourse を Apache や nginx などの他のウェブサーバーとポートを共有させたい場合は、
## https://meta.discourse.org/t/17247 を参照してください
expose:
  - "80:80"   # http
  - "443:443" # https
  - "587:587"

params:
  db_default_text_search_config: "pg_catalog.english"

  ## db_shared_buffers を総メモリの最大 25% に設定してください。
  ## ブートストラップが検出した RAM に基づいて自動的に設定されますが、上書きすることもできます
  db_shared_buffers: "128MB"

  ## ソートパフォーマンスを向上させることができますが、接続ごとのメモリ使用量が増加します
  #db_work_mem: "40MB"

  ## このコンテナが使用する Git リビジョンはどれですか?(デフォルト: tests-passed)
  #version: tests-passed

env:
  LC_ALL: en_US.UTF-8
  LANG: en_US.UTF-8
  LANGUAGE: en_US.UTF-8
  # DISCOURSE_DEFAULT_LOCALE: en

  ## 同時にサポートされるウェブリクエストの数です。メモリと CPU コア数に依存します。
  ## ブートストラップが検出した CPU に基づいて自動的に設定されますが、上書きすることもできます
  UNICORN_WORKERS: 2

  ## TODO: この Discourse インスタンスが応答するドメイン名
  ## 必須です。Discourse は IP アドレスのみでは動作しません。
  DISCOURSE_HOSTNAME: forum.beginner.center

  ## 上記で指定したホスト名(-h オプション)と同じホスト名でコンテナを起動したい場合は、コメントを外してください
  #DOCKER_USE_HOSTNAME: true

  ## TODO: 初期登録時に管理者および開発者として指定されるメールアドレスのリスト(カンマ区切り)
  ## 例: 'user1@example.com,user2@example.com'
  DISCOURSE_DEVELOPER_EMAILS: 'whitewatercn@outlook.com'

  ## TODO: 新しいアカウントの検証と通知の送信に使用する SMTP メールサーバー
  # SMTP アドレス、ユーザー名、パスワードは必須です
  # 警告: SMTP パスワードに '#' 文字が含まれていると問題が発生する可能性があります!
  DISCOURSE_SMTP_ADDRESS: smtpdm.aliyun.com
  DISCOURSE_SMTP_PORT: 80
  DISCOURSE_SMTP_USER_NAME: noreply@noreply.beginner.center
  DISCOURSE_SMTP_PASSWORD: REDACTED
  DISCOURSE_SMTP_ENABLE_START_TLS: false           # (オプション、デフォルトは true)
  DISCOURSE_SMTP_DOMAIN: noreply.beginner.center
  DISCOURSE_NOTIFICATION_EMAIL: noreply@noreply.beginner.center

  ## Lets Encrypt テンプレートを追加した場合は、以下をコメント外して無料の SSL 証明書を取得してください
  LETSENCRYPT_ACCOUNT_EMAIL: noreply@noreply.beginner.center

  ## この Discourse インスタンスの HTTP または HTTPS CDN アドレス(プル用に設定)
  ## 詳細は https://meta.discourse.org/t/14857 を参照してください
  #DISCOURSE_CDN_URL: https://discourse-cdn.example.com
  
  ## IP アドレス検索用の MaxMind 地理的位置 IP アドレスキー
  ## 詳細は https://meta.discourse.org/t/-/137387/23 を参照してください
  #DISCOURSE_MAXMIND_LICENSE_KEY: 1234567890123456

## Docker コンテナはステートレスです。すべてのデータは /shared に保存されます
volumes:
  - volume:
      host: /var/discourse/shared/standalone
      guest: /shared
  - volume:
      host: /var/discourse/shared/standalone/log/var-log
      guest: /var/log

## プラグインはここに記述してください
## 詳細は https://meta.discourse.org/t/19157 を参照してください
hooks:
  after_code:
    - exec:
        cd: $home/plugins
        cmd:
          - git clone https://github.com/discourse/docker_manager.git
          - git clone https://github.com/discourse/discourse-adplugin.git
          - git clone https://github.com/paviliondev/discourse-ratings.git
          - git clone https://github.com/discourse/discourse-topic-voting
          - git clone https://github.com/discourse/discourse-whos-online
          - git clone https://github.com/discourse/discourse-solved
          - git clone https://github.com/paviliondev/discourse-news
          - git clone https://github.com/discourse/discourse-steam-login
          - git clone https://github.com/discourse/discourse-table-builder
          - git clone https://github.com/merefield/discourse-ai-topic-summary
          - git clone https://github.com/discourse/discourse-post-voting
          - git clone https://github.com/discourse/discourse-ai
          - git clone https://github.com/discourse/discourse-follow
          - git clone https://github.com/discourse/discourse-reactions
          - git clone https://github.com/discourse/discourse-gamification
          - git clone https://github.com/discourse/discourse-yearly-review
          - git clone https://github.com/whitewatercn/discourse-embed-bilibili
          - git clone https://github.com/discourse/discourse-automation
          - git clone https://github.com/discourse/discourse-cakeday
          - git clone https://github.com/communiteq/discourse-restrict-pms-to-group
          - git clone https://github.com/discourse/discourse-math
          



## ビルド後に実行するカスタムコマンド
run:
  - exec: echo "カスタムコマンドの開始"
  ## 最初の登録時の「From」メールアドレスを設定したい場合は、コメントを外して変更してください
  ## 最初の登録メールを受け取った後、再度コメントアウトしてください。一度だけ実行すれば十分です
  - exec: rails r "SiteSetting.notification_email='noreply@noreply.beginner.center'"
  - exec: echo "カスタムコマンドの終了"

./launcher logs app の出力

x86_64 アーキテクチャを検出しました。
run-parts: /etc/runit/1.d/00-ensure-links を実行中
run-parts: /etc/runit/1.d/00-fix-var-logs を実行中
run-parts: /etc/runit/1.d/01-cleanup-web-pids を実行中
run-parts: /etc/runit/1.d/anacron を実行中
run-parts: /etc/runit/1.d/cleanup-pids を実行中
古くなった PID ファイルをクリーンアップ中
run-parts: /etc/runit/1.d/copy-env を実行中
run-parts: /etc/runit/1.d/letsencrypt を実行中
[2024 年 3 月 6 日 午後 1:28:00 UTC] ドメインは変更されていません。
[2024 年 3 月 6 日 午後 1:28:00 UTC] スキップします。次の更新時刻: 2024-04-11T00:09:12Z
[2024 年 3 月 6 日 午後 1:28:00 UTC] 強制更新するには '--force' を追加してください。
[2024 年 3 月 6 日 午後 1:28:00 UTC] キーをインストール中: /shared/ssl/forum.beginner.center.key
[2024 年 3 月 6 日 午後 1:28:00 UTC] フルチェーンをインストール中: /shared/ssl/forum.beginner.center.cer
[2024 年 3 月 6 日 午後 1:28:00 UTC] 再読み込みコマンドを実行中: sv reload nginx
警告: nginx: supervise/ok を開けません。ファイルが存在しません
[2024 年 3 月 6 日 午後 1:28:00 UTC] 再読み込みエラー:
[2024 年 3 月 6 日 午後 1:28:01 UTC] ドメインは変更されていません。
[2024 年 3 月 6 日 午後 1:28:01 UTC] スキップします。次の更新時刻: 2024-04-11T00:09:17Z
[2024 年 3 月 6 日 午後 1:28:01 UTC] 強制更新するには '--force' を追加してください。
[2024 年 3 月 6 日 午後 1:28:01 UTC] キーをインストール中: /shared/ssl/forum.beginner.center_ecc.key
[2024 年 3 月 6 日 午後 1:28:01 UTC] フルチェーンをインストール中: /shared/ssl/forum.beginner.center_ecc.cer
[2024 年 3 月 6 日 午後 1:28:01 UTC] 再読み込みコマンドを実行中: sv reload nginx
警告: nginx: supervise/ok を開けません。ファイルが存在しません
[2024 年 3 月 6 日 午後 1:28:01 UTC] 再読み込みエラー:
runsvdir が開始されました。PID は 538 です
ok: run: redis: (pid 547) 0 秒
ok: run: postgres: (pid 553) 0 秒
nginx: [警告] "listen ... http2" ディレクティブは非推奨です。代わりに "http2" ディレクティブを使用してください /etc/nginx/conf.d/discourse.conf:60
supervisor pid: 551 unicorn pid: 578
シャットダウン中
run-parts: /etc/runit/3.d/01-nginx を実行中
ok: down: nginx: 0 秒、通常はアップ
run-parts: /etc/runit/3.d/02-unicorn を実行中
(551) 終了中
ok: down: unicorn: 1 秒、通常はアップ
run-parts: /etc/runit/3.d/10-redis を実行中
ok: down: redis: 0 秒、通常はアップ
run-parts: /etc/runit/3.d/99-postgres を実行中
ok: down: postgres: 0 秒、通常はアップ
ok: down: nginx: 3 秒、通常はアップ
ok: down: postgres: 1 秒、通常はアップ
ok: down: redis: 2 秒、通常はアップ
ok: down: cron: 0 秒、通常はアップ
ok: down: unicorn: 3 秒、通常はアップ
ok: down: rsyslog: 0 秒、通常はアップ
run-parts: /etc/runit/1.d/00-ensure-links を実行中
run-parts: /etc/runit/1.d/00-fix-var-logs を実行中
run-parts: /etc/runit/1.d/01-cleanup-web-pids を実行中
run-parts: /etc/runit/1.d/anacron を実行中
run-parts: /etc/runit/1.d/cleanup-pids を実行中
古くなった PID ファイルをクリーンアップ中
run-parts: /etc/runit/1.d/copy-env を実行中
run-parts: /etc/runit/1.d/letsencrypt を実行中
[2024 年 3 月 6 日 午後 1:51:54 UTC] ドメインは変更されていません。
[2024 年 3 月 6 日 午後 1:51:54 UTC] スキップします。次の更新時刻: 2024-04-11T00:09:12Z
[2024 年 3 月 6 日 午後 1:51:54 UTC] 強制更新するには '--force' を追加してください。
[2024 年 3 月 6 日 午後 1:51:54 UTC] キーをインストール中: /shared/ssl/forum.beginner.center.key
[2024 年 3 月 6 日 午後 1:51:54 UTC] フルチェーンをインストール中: /shared/ssl/forum.beginner.center.cer
[2024 年 3 月 6 日 午後 1:51:54 UTC] 再読み込みコマンドを実行中: sv reload nginx
fail: nginx: runsv が実行されていません
[2024 年 3 月 6 日 午後 1:51:54 UTC] 再読み込みエラー:
[2024 年 3 月 6 日 午後 1:51:54 UTC] ドメインは変更されていません。
[2024 年 3 月 6 日 午後 1:51:54 UTC] スキップします。次の更新時刻: 2024-04-11T00:09:17Z
[2024 年 3 月 6 日 午後 1:51:54 UTC] 強制更新するには '--force' を追加してください。
[2024 年 3 月 6 日 午後 1:51:55 UTC] キーをインストール中: /shared/ssl/forum.beginner.center_ecc.key
[2024 年 3 月 6 日 午後 1:51:55 UTC] フルチェーンをインストール中: /shared/ssl/forum.beginner.center_ecc.cer
[2024 年 3 月 6 日 午後 1:51:55 UTC] 再読み込みコマンドを実行中: sv reload nginx
fail: nginx: runsv が実行されていません
[2024 年 3 月 6 日 午後 1:51:55 UTC] 再読み込みエラー:
runsvdir が開始されました。PID は 531 です
ok: run: redis: (pid 543) 0 秒
ok: run: postgres: (pid 548) 0 秒
nginx: [警告] "listen ... http2" ディレクティブは非推奨です。代わりに "http2" ディレクティブを使用してください /etc/nginx/conf.d/discourse.conf:60
supervisor pid: 541 unicorn pid: 571

Cloudflare の開発者モードを開き、ブラウザのキャッシュをクリアした後、このテンプレートを削除すると、Web サイトが正常に戻りました。

新しい問題が発生しました。CloudflareでCDNプロキシを開くと、すぐにサイトがダウンします:smiling_face_with_tear:

どうしてですか?