Yii 2.0 permitindo acesso remoto ao gii

Pergunta simples, tentando habilitar o acesso remoto ao gii no yii 2 - os documentos dizemhttp://www.yiiframework.com/doc-2.0/guide-start-gii.html

Note: If you are accessing Gii from a machine other than localhost, the access will be denied by default for security purpose. You can configure Gii to add the allowed IP addresses as follows,

'gii' => [
    'class' => 'yii\gii\Module',
    'allowedIPs' => ['127.0.0.1', '::1', '192.168.0.*', '192.168.178.20'] // adjust this to your needs
],

O problema é que ele não diz onde adicionar isso - guesing config / web.php

Mas em que seção?

questionAnswers(1)

yourAnswerToTheQuestion