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
- AppwriteException: Invalid query: Query ...
```js console.log(typeof interaction.user.id) console.log(interaction.user.id) const user_check = await TablesDB.listRows({ databaseId: "db", ...
- Files access permissions
Am I right in understanding that file access permissions have been disabled (or broken again), and that shared access can now only be organized via tokens? Or i...
- functions custom domain issues in self h...
I’m running self-hosted Appwrite (Docker) behind Traefik with Cloudflare proxy (Full/Strict). Main domain works: https://app.printa4.in Function subdomains fa...