How I change my Site URI in Drupal 8 In Drupal 7 I put in settings.php this:

$base_url = 'http://mysite.local';


And when I run:

$ drush uli
http://mysite.local/user/reset/1/1460387746/mTqwCdJ7hi_pmrPRuFOScYwFtoHTmVAW07MV23O3UVk/login


The url generated will be fine.

In Drupal 8 I check and still there.

But in my Drupal 8 site, when I try run:
$ drush uli

I got:

mysite does not appear to be a resolvable hostname or IP, not starting browser. You may need to use the --uri option in your command or site alias to indicate the correct URL of this site.                          [warning]
http://mysite/user/reset/1/1460387905/ntObZiBxAnYdgGoc9jLqCIeQYpN_WjO04UlXcfSNZMo


I know I can do this:
$ drush uli --uri='mysite.local'

But much work.

Too I can do this with some drush config.

Then, how I do this like Drupal 7 in settings.php?
Since Drupal 8 uses Symfony's request stack which generates the base url, some things are not possible to do in the same manner as was possible in Drupal 7.
Instead create sites/default/drushrc.php and add
&lt;?php

$options['uri'] = 'http://mysite.local';

and you should be fine.