Show Maintenance page for all traffic except Whitelisted IPs

I have a situation where my main application is being moved to AWS but proxies through CloudFlare. During the maintenance window, I’d like to show our maintenance page but allow whitelisted IP address to flow through to the application.

Is there a simply mechanism within CloudFlare to allow for this type of configuration? I have attempted this using the AWS Application Load Balancer but am limited to just 5 “condition” clauses within the listener rules.

Have a look at this

You might have to adapt the code

Running down this solution now. Thank you @sandro.

This topic was automatically closed after 14 days. New replies are no longer allowed.