X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/9e0a92a508743d3bc30b332e94742eeeb5cb8ce2..12c1deeb8a313873af7c33c878f48a819305b483:/settings/settings.php diff --git a/settings/settings.php b/settings/settings.php index f2cdf918..31dc8eac 100644 --- a/settings/settings.php +++ b/settings/settings.php @@ -48,12 +48,14 @@ // 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_Website_BaseURL', 'http://'.php_uname('n').'/'); + @define('CONST_Website_BaseURL', 'http://nominatim.openstreetmap.org/'); @define('CONST_Tile_Default', 'Mapnik'); @define('CONST_Default_Language', false);