X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/3db64e79136a486533730d23ef4fe854b0ec85fa..45a52249135d25d86c853e2146eaebe808764245:/settings/settings.php diff --git a/settings/settings.php b/settings/settings.php index d2621ae3..3da42133 100644 --- a/settings/settings.php +++ b/settings/settings.php @@ -70,13 +70,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);