Drupal 8, Nginx Reverse Proxy.

Drupal 8 website, NGINX + Apache. All seems to work fine except few places show the IP:PORT instead of the domain, like in: canonical tag; Default front page under HomeAdministrationConfigurationSystem.

For example, Public file base URL under HomeAdministrationConfigurationMedia shows the domain, menu and CSS links are fine.

Thanks in advance for any help.

Drupal version: 

Source: https://www.drupal.org/taxonomy/term/22/feed