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
- Unknown attribute type: varchar / text
Since the `string` type is deprecated I tried using `varchar` and `text` in some newer tables, but when running `appwrite pull tables && appwrite types ./src/li...
- trying to figure out how to activate my...
please help
- Bug: TOTP MFA verification always fails ...
*Bug: TOTP MFA verify always returns `user_invalid_token` (Cloud 1.8.1, Frankfurt)** Project ID: `68dd48440003e537d849` SDK: `appwrite@18.2.0` (also tested wit...