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
- Can't update to 1.9.0
I'm trying to update from 1.8.1 to 1.9.0 but I keep getting this error: ```http://appwrite/v1/health/version => Operation timed out after 2001 milliseconds wit...
- Function executions not getting logged b...
Hello, I have just upgraded on a self-hosted 1.8.1 to 1.9.0 and I have a strange bug where my functions are no longer showing executions in the console, howeve...
- Appwrite 1.9 Local Console Login Issue A...
I've installed Appwrite 1.9 locally through the web wizard. When I try to log in to the console, I get the following. Any suggestion?