How to implement maintenance mode on Remix using Google Cloud Armor functionality to inject custom headers for requests from non-whitelisted IPs.
tl;dr
Use Google Cloud Armor's header_action to inject a custom header into requests from non-allowlisted IPs, so that your application can check this header in Remix's root loader and display a maintenance page if present.
Background
Sometimes you need to put your service into maintenance