Port the old system to a more advanced setup.

This commit is contained in:
2019-03-03 16:16:31 +01:00
parent 04ae63035a
commit bfea8896de
14 changed files with 168 additions and 33 deletions

15
config/config.sample.php Normal file
View File

@@ -0,0 +1,15 @@
<?php
return [
/**
* The security works by checking if the request is made from an authorized IP-address.
*
* The address is configured as an IP-address and a subnet mask. In order to verify the entire IP-address, specify
* 32 for the mask. This option only supports IPv4 for obvious reasons.
*/
'security' => [
'mask' => 8,
'address' => '127.0.0.1',
],
'state_file' => __DIR__ . '/open.flag',
];