Hi team,
I'm trying to expose multiple local services (Appwrite, Ollama, PostHog) through a single Nginx reverse proxy port, tunneled via ngrok to a public domain — so that my mobile app can reach them at URLs like:
www.domain.com/appwrite/ www.domain.com/ollama/ www.domain.com/posthog/
The motivation is that mobile apps are strict about networking — querying localhost directly requires overriding the HTTP adapter, which I'd like to avoid.
My current setup:
- Nginx runs in Docker and joins Appwrite's existing Traefik network
- Nginx proxies /appwrite/ → appwrite-traefik:80
- ngrok tunnels the single Nginx port to the public endpoint
The issue: When I hit /appwrite/, Traefik returns a 301 redirect to /console/, which Nginx doesn't handle — so it falls back to my default route and returns a JSON status message instead of the Appwrite UI.
I've attached my nginx.conf and docker-compose.yml below. Is there a detailed guide for this kind of path-based proxying in front of Traefik? Or is there a recommended way to wire Nginx into Appwrite's network without interfering with Traefik's routing?
Thanks!
Recommended threads
- CORS errors in Obsidian custom plugin
Hi, anyone here familiar with obsidian community plugins? In short: it's a local first note app which supports writing your own add-ons / plugin But I keep get...
- Appwrite 1.9.0 doctor fails tho database...
So i was testing in a local environment the upgrade for 1.9.0, and after getting everything into a running state, i checked the logs that shows : ``` └── Cre...
- Failed to start containers.
I'm trying to install Appwrite locally but struck on the subject point. There is no clear error in logs.