内部IPアドレス172.17.0.1からのスパム提供?

リバースプロキシ(おそらくnginx-proxyのようなもの)を使用しています。

app.ymlに次のようなものを追加する必要があります。

afer_bundle_exec:
  - replace:
    filename: /etc/nginx/conf.d/discourse.conf
    from: "types {"
    to: |
      set_real_ip_from 172.16.0.0/12;
      set_real_ip_from 10.0.0.0/8;
      real_ip_recursive on;
      real_ip_header X-Forwarded-For;
      types {
「いいね!」 4