X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/c2d5303192c960b456b2d2ab4b6e14cead2042ac..d76eca32f4c96f5725877aec555c7352a8452ba2:/settings/settings.php diff --git a/settings/settings.php b/settings/settings.php index cd97b4a7..5231692f 100644 --- a/settings/settings.php +++ b/settings/settings.php @@ -38,12 +38,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', 'xx');