X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/7ed580f1d55dcee038f46887a199e4082d0006c4..1f951e863a870854188603b29c8a98e3897dccdd:/settings/settings.php?ds=inline diff --git a/settings/settings.php b/settings/settings.php index a04795ef..598ce86e 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);