Localhost url after install

So here is my problem. when i go to my site. It get the trusted domain page so i add as trusted domain. Then the site goes to a https:localhost… url. Where did that get set and how do i change it?


Nextcloud version (eg, 10.0.2):
Operating system and version (eg, Ubuntu 16.04): Linux Mint 18.1
Apache or nginx version (eg, Apache 2.4.25): 2.4.18
PHP version (eg, 5.6):7

I would take a look at the Nextcloud configuration file at