2018-08-22 20:27:51 +00:00
|
|
|
<?php
|
|
|
|
|
|
|
|
/**
|
|
|
|
* @file
|
|
|
|
* Settings for the hosted environment.
|
|
|
|
*/
|
|
|
|
|
|
|
|
$databases['default']['default'] = array(
|
|
|
|
'driver' => 'mysql',
|
|
|
|
'database' => '{{ drupal_db_name }}',
|
|
|
|
'username' => '{{ drupal_db_user }}',
|
2018-08-22 20:59:56 +00:00
|
|
|
'password' => '{{ drupal_db_password }}',
|
2018-08-22 20:27:51 +00:00
|
|
|
'host' => '{{ drupal_db_host|default(localhost) }}',
|
|
|
|
'prefix' => '',
|
|
|
|
);
|
|
|
|
|
|
|
|
$settings['trusted_host_patterns'] = array(
|
|
|
|
'^(.*\.)*{{ vagrant_hostname|default("*")|replace(".", "\.") }}$'
|
|
|
|
);
|
|
|
|
|
|
|
|
$settings['hash_salt'] = '{{ hash_salt }}';
|
|
|
|
|
|
|
|
$config['system.performance']['css']['preprocess'] = FALSE;
|
|
|
|
$config['system.performance']['js']['preprocess'] = FALSE;
|
|
|
|
|
|
|
|
$config_directories = array(
|
|
|
|
CONFIG_SYNC_DIRECTORY => '../custom/config/sync',
|
|
|
|
);
|
|
|
|
|
|
|
|
$config['system.site']['name'] = "{{ drupal_site_name }}";
|
|
|
|
|
|
|
|
# Disable all functionality related to authorized file operations:
|
|
|
|
// $settings['allow_authorize_operations'] = FALSE;
|
|
|
|
//
|
|
|
|
// $settings['file_chmod_directory'] = 0770;
|
|
|
|
// $settings['file_chmod_file'] = 0660;
|
|
|
|
|
|
|
|
# $settings['file_public_base_url'] = 'http://downloads.example.com/files';
|
|
|
|
# $settings['file_public_path'] = 'sites/default/files';
|
|
|
|
# The template file should be copied into the theme. It is located inside
|
|
|
|
# 'core/modules/system/templates/maintenance-page.html.twig'.
|
|
|
|
# $settings['maintenance_theme'] = 'bartik';
|
|
|
|
# $settings['install_profile'] = '';
|
|
|
|
# Invalidate dependency injection container
|
|
|
|
# $settings['deployment_identifier'] = \Drupal::VERSION;
|
|
|
|
# Ensure this is always false:
|
|
|
|
# $settings['update_free_access'] = FALSE;
|
|
|
|
# Outbound proxy access settings:
|
|
|
|
# $settings['http_client_config']['proxy']['http'] = 'http://proxy_user:proxy_pass@example.com:8080';
|
|
|
|
# $settings['http_client_config']['proxy']['https'] = 'http://proxy_user:proxy_pass@example.com:8080';
|
|
|
|
# $settings['http_client_config']['proxy']['no'] = ['127.0.0.1', 'localhost'];
|
|
|
|
# Reverse proxy settings:
|
|
|
|
# $settings['reverse_proxy'] = TRUE;
|
|
|
|
# $settings['reverse_proxy_addresses'] = array('a.b.c.d', ...);
|
|
|
|
# $settings['reverse_proxy_header'] = 'X_FORWARDED_FOR';
|
|
|
|
# $settings['reverse_proxy_proto_header'] = 'X_FORWARDED_PROTO';
|
|
|
|
# $settings['reverse_proxy_host_header'] = 'X_FORWARDED_HOST';
|
|
|
|
# $settings['reverse_proxy_port_header'] = 'X_FORWARDED_PORT';
|
|
|
|
# $settings['reverse_proxy_forwarded_header'] = 'FORWARDED';
|
|
|
|
# If a direct path is provided for authenticated users, set to false:
|
|
|
|
# $settings['omit_vary_cookie'] = TRUE;
|
|
|
|
|
|
|
|
{% if php_settings_code %}
|
|
|
|
{{ php_settings_code }}
|
|
|
|
{% endif %}
|