electerious / Ackee

Self-hosted, Node.js based analytics tool for those who care about privacy.
https://ackee.electerious.com
MIT License
4.27k stars 359 forks source link

Cloudflare tunnels #347

Closed Stunt0265 closed 1 year ago

Stunt0265 commented 1 year ago

I'm using Ackee in Docker on-prem with Cloudflare tunnels. I'm getting very little data. For example, 31 views and should be around 2k views. I have configured CORS in the Zero Trust Applications settings. Any ideas on how I might troubleshoot this?

Stunt0265 commented 1 year ago

Adding the environment line in Docker of "ACKEE_ALLOW_ORIGIN=" with my domains seems to have resolved the issue. Not sure I understand why since the site is being proxied by Cloudflare but maybe I don't understand the setting.