X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/21385f5e51b1ad40ddce3a877364dea40ef9bc5b..fc96bee063c26ade2cdc89f255de580de9d43009:/settings/settings.php diff --git a/settings/settings.php b/settings/settings.php index 04ffe162..765849e7 100644 --- a/settings/settings.php +++ b/settings/settings.php @@ -78,13 +78,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);