Ente CommunityEC
Ente Communityโ€ข3mo agoโ€ข
11 replies
cayomayo

How to set up CORS using cloudflare tunnel?

Hello! The answer to this may exist somewhere but I cannot seem to find it, and this is my first ever selfhost so I lack a lot of experience. I recently got my ente photos selfhost to work through cloudflare tunnels, however only grey squares show up where the photos and videos are meant to be (I uploaded to the 10gb limit using localhost before). My friend on a different network was also able to create an account, but cannot upload any photos. After some rummaging and looking at a different forum post, my issue seems to be a CORS error, as the people in the other forum post fixed their issues by chainging their CORS.json file. I don't know how to fix this though, I have looked at the ente help article but I don't think the AWS CLI is going to work here and I'm slightly confused about what it does, is there maybe a cloudflare alternative? I tried changing compose.yaml and museum.yaml but neither have fixed anything. Thank you in advance to any help provided!

Notes about setup
- I used quickstart method
- Minio is located on a separate drive in the server to the rest of the ente install (this does not seem to bother the localhost setup)
- Computer app and mobile app seem to work with the cloudflare tunnel when connected to the same network as the server, but stop working when connected to a different network/mobile data
Was this page helpful?