Skip to main content

Trusted Host Settings

Trusted Host Settings Not enabled

The trusted_host_patterns setting is not configured in settings.php. This can lead to security vulnerabilities. It is highly recommended that you configure this. See Protecting against HTTP HOST Header attacks for more information.

 

  $settings['trusted_host_patterns'] = array(

   '^www\.d8blog\.com$',

  );
Trusted Host Settings Enabled

The trusted_host_patterns setting is set to allow ^www\.d8blog\.com$

***_ For Acquia Dev Desktop

$settings['trusted_host_patterns'] = array(

  '^.*\.dd$',

  );

 

Credit Link: https://www.drupal.org/node/1992030

Back to top