The place at which gii allowed IP

The document does not stated in which file should add the following IP settings to be access allowed:

'gii' => [
    'class' => 'yii\gii\Module',
    'allowedIPs' => ['127.0.0.1', '::1', '192.168.0.*', '192.168.178.20'] // adjust this to your needs
],