Mercurial > hg > isophonics-drupal-site
changeset 2:92f882872392
Trusted hosts, + remove migration modules
author | Chris Cannam |
---|---|
date | Tue, 05 Dec 2017 09:26:43 +0000 |
parents | 1a348b17ec81 |
children | e11175134f4e |
files | composer.json sites/default/settings.php |
diffstat | 2 files changed, 13 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/composer.json Thu Nov 30 14:56:35 2017 +0000 +++ b/composer.json Tue Dec 05 09:26:43 2017 +0000 @@ -6,10 +6,7 @@ "require": { "composer/installers": "^1.0.24", "wikimedia/composer-merge-plugin": "^1.4", - "drush/drush": "^8.1", - "drupal/migrate_upgrade": "^2.0", - "drupal/migrate_tools": "^2.0", - "drupal/migrate_plus": "^2.0" + "drush/drush": "^8.1" }, "replace": { "drupal/core": "^8.4"
--- 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');