I want to limit access to console to specific IPs only, but what IP whitelisting does is it limits login access to IPs only. How can I make sure that console login page is only shown to those IPs.
maybe this env var?
Yes but this is limiting login access to IP, I want console login UI restriction.
If you are using Cloudflare you can use their WAF to restrict access to /console/*
to certain ips. Or you could add the following lines to your docker compose
Traefik
- traefik.http.middlewares.ip-whitelist.ipwhitelist.sourcerange=<ip here>
Appwrite
- traefik.http.routers.appwrite_console.rule=PathPrefix(/console)
- traefik.http.routers.appwrite_console.middlewares=ip-whitelist@docker
- traefik.http.routers.appwrite_console.entrypoints=appwrite_websecure
- traefik.http.routers.appwrite_console.tls=true
Okay, any reference to restricting web access to specific IPs while allowing API requests with cloudflare WAF.
Select your domain, go to security, then WAF
Recommended threads
- [SOLVED] Could not resolve host: exc1 wi...
Not able execute functions
- Realtime stopped working
Hey guys, I think my realtime functionality has stopped working over the past few weeks (and it had been working fine previously to that). I noticed another use...
- Create document with permission
In my web, I try to create a contact form that allow every visitor can leave a message to specified user. - Anyone can create message => Anyone can create a doc...