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
- "Restore project" button fails: "Invalid...
In the dashboard, it clicking "Restore project" fails. The request sent to `PATCH https://cloud.appwrite.io/v1/projects/:project_id` with payload `{status: "act...
- how to access the value of account statu...
- Redirect from clicking team invite link ...
Hi all! Pretty new to app development in general so this might be something more generic than appwrite, but I've found (after reading the docs for the Teams API...