Did you follow the instructions in the OP or did you just change dns so that all traffic goes through bunny?
If it’s the latter, then you’re likely to have other problems, but you will need to make a template like the cloudflare one. Can you find where they publish their ip addresses?
i have changed my dns from cloudflare to bunny CDN, then i activated CDN acceleration in my vps IP and used that template for the nginx config (in the app.yml):
- replace:
filename: "/etc/nginx/conf.d/discourse.conf"
from: "$proxy_add_x_forwarded_for"
to: "$http_x_real_ip"
global: true
I hope this helps other people who want to do this. it’s works on my end.