Help Needed with Cloudflare Zero Trust, Pages, and Workers for ReactFlux + MiniFlux Setup

Hi everyone,

I'm new to Cloudflare and have been trying to set up a self-hosted project on my Raspberry Pi 500. I'm mostly self-taught, so I apologize if I misunderstand anything or miss important details. Here's my situation:

  1. **Current Setup**:
    • I'm running the self-hosted RSS feed reader MiniFlux on my Raspberry Pi 500 (Arch Linux ARM, installed via Pacman).
    • The setup uses Caddy as a reverse proxy, a Cloudflare Zero Trust tunnel, and Cloudflare Access for SSO.
    • My Cloudflare Access application is configured to allow all origins, methods, and headers. It has a policy that allows specific emails or login methods (e.g., GitHub).
  2. **What I'm Trying to Do**:
    • I want to deploy ReactFlux, an alternative frontend for MiniFlux, on Cloudflare Pages.
    • Before setting it up fully, I tested the ReactFlux demo with my MiniFlux instance at https://rss.laniecarmelo.tech. However, ReactFlux couldn't log in.
  3. **Suspected Issue**:
    • I believe the issue is caused by Cloudflare Access protection blocking ReactFlux from accessing the MiniFlux API (https://rss.laniecarmelo.tech/v1/*).
  4. **What I've Tried So Far**:
    • I added another hostname (rss.laniecarmelo.tech/v1/*) to my tunnel configuration and created a new Cloudflare Access application with a policy set to "Bypass" for everyone. However, this didn't work—when testing the API endpoint in a private browser window, I'm still asked to sign into Cloudflare.
    • I also tried setting up the hostname with "Protect with Access" turned off but got the same results.
    • Next, I attempted to use a Cloudflare Worker written in JavaScript to bypass authentication for /v1/*, but it doesn't seem to be doing anything (or isn't being triggered).
  5. **What I Need Help With**:
    • How can I properly configure Cloudflare so ReactFlux can access the MiniFlux API (/v1/*) while keeping the rest of my MiniFlux instance protected by Cloudflare Access?
    • I've been stuck on this for a couple of days and would really appreciate any guidance or suggestions!
Thanks in advance for your help!
A Simple but Powerful RSS Reader for Miniflux
Was this page helpful?