Adding a trusted host, cant edit config.php in freenas

Nextcloud version: 14
Operating system and version: FreeNAS 11.2 RC1

So I can get nextcloud working just fine on freenas with a static IP but when switching to DHCP its asking me to edit the config.php file to allow access to hosts. The problem is when I go to /usr/local/www/nextcloud/config and try and edit config.php its mostly blank.

Is this the first time you’ve seen this error? (Y):

Steps to replicate it:

  1. SSH into FreeNAS using Putty
  2. enter into Nextcloud via “iocage console nextcloud”
  3. cd /usr/local/www/nextcloud/config
  4. edit config.php