X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/98b93df83d35f9062c85a5c93692206dfcbfa92d..65aba66c99903322bc56c7ca99ac29446dd94d09:/settings/settings.php diff --git a/settings/settings.php b/settings/settings.php index fd50a6f0..11e450e9 100644 --- a/settings/settings.php +++ b/settings/settings.php @@ -52,13 +52,15 @@ // Website settings @define('CONST_NoAccessControl', true); - @define('CONST_ClosedForIndexing', false); - @define('CONST_ClosedForIndexingExceptionIPs', ''); @define('CONST_BlockedIPs', ''); + @define('CONST_IPBanFile', CONST_BasePath.'/settings/ip_blocks'); + @define('CONST_WhitelistedIPs', ''); + @define('CONST_BlockedUserAgents', ''); + @define('CONST_BlockReverseMaxLoad', 15); @define('CONST_BulkUserIPs', ''); @define('CONST_BlockMessage', ''); // additional info to show for blocked IPs - @define('CONST_Website_BaseURL', 'http://'.php_uname('n').'/'); + @define('CONST_Website_BaseURL', 'http://nominatim.openstreetmap.org/'); @define('CONST_Tile_Default', 'Mapnik'); @define('CONST_Default_Language', false);