X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/fca2d0061780c5e7fb8b11a9fa2b618137b3cc8e..921cc233890705d6a916fa415b51fdd88fa8fe11:/settings/settings.php diff --git a/settings/settings.php b/settings/settings.php index fc3166b4..91595272 100644 --- a/settings/settings.php +++ b/settings/settings.php @@ -42,12 +42,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');