comparison 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
comparison
equal deleted inserted replaced
1:1a348b17ec81 2:92f882872392
20 * After finishing the upgrade, be sure to open this file again and change the 20 * After finishing the upgrade, be sure to open this file again and change the
21 * TRUE back to a FALSE! 21 * TRUE back to a FALSE!
22 */ 22 */
23 $settings['update_free_access'] = FALSE; 23 $settings['update_free_access'] = FALSE;
24 24
25 $settings['trusted_host_patterns'] = array(
26 '^localhost$',
27 '^localhost:8080$',
28 '^127\.0\.0\.1$',
29 '^127\.0\.0\.1:8080$',
30 '^isophonics\.net$',
31 '^isophonics\.com$',
32 '^isophonics\.org$',
33 '^.*\.isophonics\.net$',
34 '^.*\.isophonics\.com$',
35 '^.*\.isophonics\.org$'
36 );
25 37
26 $settings['reverse_proxy'] = TRUE; 38 $settings['reverse_proxy'] = TRUE;
27 $settings['reverse_proxy_addresses'] = array('138.37.95.150'); 39 $settings['reverse_proxy_addresses'] = array('138.37.95.150');
28 40
29 $settings['container_yamls'][] = $app_root . '/' . $site_path . '/services.yml'; 41 $settings['container_yamls'][] = $app_root . '/' . $site_path . '/services.yml';