diff sites/default/settings.php @ 2:92f882872392

Trusted hosts, + remove migration modules
author Chris Cannam
date Tue, 05 Dec 2017 09:26:43 +0000
parents 4c8ae668cc8c
children
line wrap: on
line diff
--- a/sites/default/settings.php	Thu Nov 30 14:56:35 2017 +0000
+++ b/sites/default/settings.php	Tue Dec 05 09:26:43 2017 +0000
@@ -22,6 +22,18 @@
  */
 $settings['update_free_access'] = FALSE;
 
+$settings['trusted_host_patterns'] = array(
+    '^localhost$',
+    '^localhost:8080$',
+    '^127\.0\.0\.1$',
+    '^127\.0\.0\.1:8080$',
+    '^isophonics\.net$',
+    '^isophonics\.com$',
+    '^isophonics\.org$',
+    '^.*\.isophonics\.net$',
+    '^.*\.isophonics\.com$',
+    '^.*\.isophonics\.org$'
+);
 
 $settings['reverse_proxy'] = TRUE;
 $settings['reverse_proxy_addresses'] = array('138.37.95.150');