Nginx not listen on IPv6 if not use HTTPS

Yes, I tried to add to app.yml like this and it works.

hooks:
  after_web_config:
    - replace:
        filename: "/etc/nginx/conf.d/discourse.conf"
        from: /listen.+$/
        to: |
          listen 80;
          listen [::]:80;