Absolute URLs instead of relative I have a problem with entity URLs in D8. All of them are absolute instead of relative, which causes various problems. For example,link URLs to edit content on /admin/content look like this:

http://example.local/node/693/edit?destination=http%3A//example.local/admin/content

instead of

/node/693/edit?destination=/admin/content


It's not theme-related issue
I checked various custom classes implementing OutboundRouteProcessorInterface and it seems, that none of them should affect this


What could be the cause, then?

EDIT: It's the same with all Drupal-generated links.

BTW. The issue can be seen by executing

use Drupal\Core\Link;
$link = Link::createFromRoute('This is a link', 'entity.node.canonical', ['node' =&gt; 1])-&gt;toString();
print_r($link);


It should result in relative URL, in my case it's absolute one.
Sorry, it was caused by

$host = $_SERVER['HTTP_HOST'];
$config['language.negotiation']['url']['domains']['cs'] = $host;


in my settings.php file. Thanks all!