Skip to content

Instantly share code, notes, and snippets.

@koomai
Last active August 29, 2015 14:06
Show Gist options
  • Save koomai/0958b9ff12f779fef50d to your computer and use it in GitHub Desktop.
Save koomai/0958b9ff12f779fef50d to your computer and use it in GitHub Desktop.
Example: List of allowed IP addresses to bypass Maintenance Mode
<?php
return [
/*
|--------------------------------------------------------------------------
| Allowed IP Addresses
|--------------------------------------------------------------------------
| Include an array of IP addresses or ranges that are allowed access to the app when
| it is in maintenance mode.
|
| Supported formats:
| 10.1.1.1
| 10.1.*.*
| 10.1.1.1-10.1.2.255
|
*/
'allowed_ips' => [
'10.0.2.2',
'10.2.*.*',
'10.0.2.3 - 10.0.2.45',
'10.0.3.0-10.3.3.3'
],
];
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment