I have a Kubernetes Cluster which uses Nginx Ingress Controller to Route Traffic to Pods/Service. Its working now. But I want to know if I need to do anything other than this like Adding Annotations for Appwrite to Work perfectly?
I haven't used Kubernetes enough, but all I can say is that I use nginx for my self hosted inatance of appwrite. All I've done is put up a reverse proxy, and it works completely fine
I removed all the Traefik Labels. Is it fine?
If you replicate traeffik routing config, you can remove it and use nginx, caddy or any otherone yes
What my Current Config is the Nginx Ingress Controller sends all the traffic from api.example.com to Main Appwrite Container.
?
It's enough 😉
If you want exact same config on nginx than appwrite team set for traefik, you need to implement all this rules on appwrite main container
labels:
- traefik.enable=true
- traefik.constraint-label-stack=appwrite
- traefik.docker.network=appwrite
- traefik.http.services.appwrite_api.loadbalancer.server.port=80
#http
- traefik.http.routers.appwrite_api_http.entrypoints=appwrite_web
- traefik.http.routers.appwrite_api_http.rule=PathPrefix(`/`)
- traefik.http.routers.appwrite_api_http.service=appwrite_api
# https
- traefik.http.routers.appwrite_api_https.entrypoints=appwrite_websecure
- traefik.http.routers.appwrite_api_https.rule=PathPrefix(`/`)
- traefik.http.routers.appwrite_api_https.service=appwrite_api
- traefik.http.routers.appwrite_api_https.tls=true
Thanks Mate
👍
@ORIZON checking in to see if you tried the above?
Recommended threads
- Query Appwrite
Hello, I have a question regarding Queries in Appwrite. If I have a string "YYYY-MM", how can I query the $createdAt column to match this filter?
- Different appwrite IDs are getting expos...
File_URL_FORMAT= https://cloud.appwrite.io/v1/storage/buckets/[BUCKET_ID]/files/[FILE_ID]/preview?project=[PROJECT_ID] I'm trying to access files in my web app...
- Invalid document structure: missing requ...
I just pick up my code that's working a week ago, and now I got this error: ``` code: 400, type: 'document_invalid_structure', response: { message: 'Inv...