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
- Selfhost - Starting Docker containers fa...
I am stuck at installing appwrite. Specifically, the containers dont want to start up. The images are downloaded and ready. Dockhand is reporting containers st...
- It says domain already used but I have d...
I accidentally deleted the project in which I used my domain originally (orexia.app) from name.com. Now I am trying to add it to a different project and it says...
- Is this normal in the self host custom d...
when i try to add custom domain to the project did not see this in 1.8.0 ok when pressed the retry it says "DNS verification failed with resolver 8.8.8.8. Domai...