Non riesco a operare il mio sito dopo aver ricostruito l'app

Dopo aver ricostruito l’app per aggiungere un template da 🇨🇳 The IP address in Discourse’s user information shows CloudFlare’s IP address | Discourse 的用户信息中的 IP 地址显示的是 CloudFlare 的 IP 地址

ho scoperto di non poter più gestire il mio sito https://forum.beginner.center/

Ho provato a riavviare il browser, il computer e il server, e a usare un altro browser, ma non funziona ancora.

Il mio app.yml

## questo è il template Docker standalone all-in-one per Discourse
##
## Dopo aver apportato modifiche a questo file, DEVI ricostruire
## /var/discourse/launcher rebuild app
##
## FAI *MOLTO* ATTENZIONE DURANTE LA MODIFICA!
## I FILE YAML SONO SUPER SUPER SENSIBILI A ERRORI NELLO SPAZIAMENTO O NELL'ALLINEAMENTO!
## visita http://www.yamllint.com/ per validare questo file quando necessario

templates:
  - "templates/postgres.template.yml"
  - "templates/redis.template.yml"
  # - "templates/web.china.template.yml"
  - "templates/web.template.yml"
  ## Rimuovi il commento dalla riga successiva per abilitare l'ascolto IPv6
  #- "templates/web.ipv6.template.yml"
  - "templates/web.ratelimited.template.yml"
  ## Rimuovi il commento da queste due righe se desideri aggiungere Lets Encrypt (https)
  - "templates/web.ssl.template.yml"
  - "templates/web.letsencrypt.ssl.template.yml"
  # - "templates/cloudflare.template.yml" 
## quali porte TCP/IP deve esporre questo container?
## Se desideri che Discourse condivida una porta con un altro server web come Apache o nginx,
## vedi https://meta.discourse.org/t/17247 per i dettagli
expose:
  - "80:80"   # http
  - "443:443" # https
  - "587:587"

params:
  db_default_text_search_config: "pg_catalog.english"

  ## Imposta db_shared_buffers al massimo al 25% della memoria totale.
  ## verrà impostato automaticamente dal bootstrap in base alla RAM rilevata, oppure puoi sovrascrivere
  db_shared_buffers: "128MB"

  ## può migliorare le prestazioni di ordinamento, ma aumenta l'uso di memoria per connessione
  #db_work_mem: "40MB"

  ## Quale revisione Git dovrebbe usare questo container? (default: 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

  ## Quanti richieste web simultanee sono supportate? Dipende dalla memoria e dai core CPU.
  ## verrà impostato automaticamente dal bootstrap in base alle CPU rilevate, oppure puoi sovrascrivere
  UNICORN_WORKERS: 2

  ## TODO: Il nome di dominio a cui risponderà questa istanza di Discourse
  ## Obbligatorio. Discourse non funzionerà con un semplice indirizzo IP.
  DISCOURSE_HOSTNAME: forum.beginner.center

  ## Rimuovi il commento se desideri che il container venga avviato con lo stesso
  ## nome di host (opzione -h) specificato sopra (default "$hostname-$config")
  #DOCKER_USE_HOSTNAME: true

  ## TODO: Elenco di email separate da virgola che diventeranno amministratori e sviluppatori
  ## alla prima registrazione, esempio 'user1@example.com,user2@example.com'
  DISCOURSE_DEVELOPER_EMAILS: 'whitewatercn@outlook.com'

  ## TODO: Il server SMTP utilizzato per validare nuovi account e inviare notifiche
  ## INDIRIZZO SMTP, nome utente e password sono obbligatori
  ## ATTENZIONE: il carattere '#' nella password SMTP può causare problemi!
  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           # (opzionale, default true)
  DISCOURSE_SMTP_DOMAIN: noreply.beginner.center
  DISCOURSE_NOTIFICATION_EMAIL: noreply@noreply.beginner.center

  ## Se hai aggiunto il template Lets Encrypt, rimuovi il commento qui sotto per ottenere un certificato SSL gratuito
  LETSENCRYPT_ACCOUNT_EMAIL: noreply@noreply.beginner.center

  ## L'indirizzo CDN http o https per questa istanza di Discourse (configurato per il pull)
  ## vedi https://meta.discourse.org/t/14857 per i dettagli
  #DISCOURSE_CDN_URL: https://discourse-cdn.example.com
  
  ## La chiave dell'indirizzo IP Maxmind per la ricerca degli indirizzi IP
  ## vedi https://meta.discourse.org/t/-/137387/23 per i dettagli
  #DISCOURSE_MAXMIND_LICENSE_KEY: 1234567890123456

## Il container Docker è senza stato; tutti i dati sono archiviati in /shared
volumes:
  - volume:
      host: /var/discourse/shared/standalone
      guest: /shared
  - volume:
      host: /var/discourse/shared/standalone/log/var-log
      guest: /var/log

## I plugin vanno qui
## vedi https://meta.discourse.org/t/19157 per i dettagli
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
          




## Qualsiasi comando personalizzato da eseguire dopo la costruzione
run:
  - exec: echo "Inizio dei comandi personalizzati"
  ## Se desideri impostare l'indirizzo email 'From' per la tua prima registrazione, rimuovi il commento e modifica:
  ## Dopo aver ricevuto la prima email di iscrizione, rimetti il commento alla riga. Deve essere eseguito solo una volta.
  - exec: rails r "SiteSetting.notification_email='noreply@noreply.beginner.center'"
  - exec: echo "Fine dei comandi personalizzati"

Output di ./launcher logs app

x86_64 arch detected.
run-parts: executing /etc/runit/1.d/00-ensure-links
run-parts: executing /etc/runit/1.d/00-fix-var-logs
run-parts: executing /etc/runit/1.d/01-cleanup-web-pids
run-parts: executing /etc/runit/1.d/anacron
run-parts: executing /etc/runit/1.d/cleanup-pids
Cleaning stale PID files
run-parts: executing /etc/runit/1.d/copy-env
run-parts: executing /etc/runit/1.d/letsencrypt
[Wed 06 Mar 2024 01:28:00 PM UTC] Domains not changed.
[Wed 06 Mar 2024 01:28:00 PM UTC] Skip, Next renewal time is: 2024-04-11T00:09:12Z
[Wed 06 Mar 2024 01:28:00 PM UTC] Add '--force' to force to renew.
[Wed 06 Mar 2024 01:28:00 PM UTC] Installing key to: /shared/ssl/forum.beginner.center.key
[Wed 06 Mar 2024 01:28:00 PM UTC] Installing full chain to: /shared/ssl/forum.beginner.center.cer
[Wed 06 Mar 2024 01:28:00 PM UTC] Run reload cmd: sv reload nginx
warning: nginx: unable to open supervise/ok: file does not exist
[Wed 06 Mar 2024 01:28:00 PM UTC] Reload error for :
[Wed 06 Mar 2024 01:28:01 PM UTC] Domains not changed.
[Wed 06 Mar 2024 01:28:01 PM UTC] Skip, Next renewal time is: 2024-04-11T00:09:17Z
[Wed 06 Mar 2024 01:28:01 PM UTC] Add '--force' to force to renew.
[Wed 06 Mar 2024 01:28:01 PM UTC] Installing key to: /shared/ssl/forum.beginner.center_ecc.key
[Wed 06 Mar 2024 01:28:01 PM UTC] Installing full chain to: /shared/ssl/forum.beginner.center_ecc.cer
[Wed 06 Mar 2024 01:28:01 PM UTC] Run reload cmd: sv reload nginx
warning: nginx: unable to open supervise/ok: file does not exist
[Wed 06 Mar 2024 01:28:01 PM UTC] Reload error for :
Started runsvdir, PID is 538
ok: run: redis: (pid 547) 0s
ok: run: postgres: (pid 553) 0s
nginx: [warn] the "listen ... http2" directive is deprecated, use the "http2" directive instead in /etc/nginx/conf.d/discourse.conf:60
supervisor pid: 551 unicorn pid: 578
Shutting Down
run-parts: executing /etc/runit/3.d/01-nginx
ok: down: nginx: 0s, normally up
run-parts: executing /etc/runit/3.d/02-unicorn
(551) exiting
ok: down: unicorn: 1s, normally up
run-parts: executing /etc/runit/3.d/10-redis
ok: down: redis: 0s, normally up
run-parts: executing /etc/runit/3.d/99-postgres
ok: down: postgres: 0s, normally up
ok: down: nginx: 3s, normally up
ok: down: postgres: 1s, normally up
ok: down: redis: 2s, normally up
ok: down: cron: 0s, normally up
ok: down: unicorn: 3s, normally up
ok: down: rsyslog: 0s, normally up
run-parts: executing /etc/runit/1.d/00-ensure-links
run-parts: executing /etc/runit/1.d/00-fix-var-logs
run-parts: executing /etc/runit/1.d/01-cleanup-web-pids
run-parts: executing /etc/runit/1.d/anacron
run-parts: executing /etc/runit/1.d/cleanup-pids
Cleaning stale PID files
run-parts: executing /etc/runit/1.d/copy-env
run-parts: executing /etc/runit/1.d/letsencrypt
[Wed 06 Mar 2024 01:51:54 PM UTC] Domains not changed.
[Wed 06 Mar 2024 01:51:54 PM UTC] Skip, Next renewal time is: 2024-04-11T00:09:12Z
[Wed 06 Mar 2024 01:51:54 PM UTC] Add '--force' to force to renew.
[Wed 06 Mar 2024 01:51:54 PM UTC] Installing key to: /shared/ssl/forum.beginner.center.key
[Wed 06 Mar 2024 01:51:54 PM UTC] Installing full chain to: /shared/ssl/forum.beginner.center.cer
[Wed 06 Mar 2024 01:51:54 PM UTC] Run reload cmd: sv reload nginx
fail: nginx: runsv not running
[Wed 06 Mar 2024 01:51:54 PM UTC] Reload error for :
[Wed 06 Mar 2024 01:51:54 PM UTC] Domains not changed.
[Wed 06 Mar 2024 01:51:54 PM UTC] Skip, Next renewal time is: 2024-04-11T00:09:17Z
[Wed 06 Mar 2024 01:51:54 PM UTC] Add '--force' to force to renew.
[Wed 06 Mar 2024 01:51:55 PM UTC] Installing key to: /shared/ssl/forum.beginner.center_ecc.key
[Wed 06 Mar 2024 01:51:55 PM UTC] Installing full chain to: /shared/ssl/forum.beginner.center_ecc.cer
[Wed 06 Mar 2024 01:51:55 PM UTC] Run reload cmd: sv reload nginx
fail: nginx: runsv not running
[Wed 06 Mar 2024 01:51:55 PM UTC] Reload error for :
Started runsvdir, PID is 531
ok: run: redis: (pid 543) 0s
ok: run: postgres: (pid 548) 0s
nginx: [warn] the "listen ... http2" directive is deprecated, use the "http2" directive instead in /etc/nginx/conf.d/discourse.conf:60
supervisor pid: 541 unicorn pid: 571

Dopo aver eliminato questo modello, apri la modalità sviluppatore di Cloudflare e cancella la cache del mio browser, il mio sito web è tornato alla normalità.

Nuovo problema, ogni volta che apro il proxy CDN in Cloudflare, il mio sito va subito giù :smiling_face_with_tear:

Cosa è successo?