fully updated to drupal 10
This commit is contained in:
@@ -1,4 +1,8 @@
|
||||
parameters:
|
||||
# Toggles the super user access policy. If your website has at least one user
|
||||
# with the Administrator role, it is advised to set this to false. This allows
|
||||
# you to make user 1 a regular user, strengthening the security of your site.
|
||||
security.enable_super_user: true
|
||||
session.storage.options:
|
||||
# Default ini options for sessions.
|
||||
#
|
||||
@@ -37,6 +41,13 @@ parameters:
|
||||
# @default none
|
||||
# cookie_domain: '.example.com'
|
||||
#
|
||||
# Set the SameSite cookie attribute: 'None', 'Lax', or 'Strict'. If set,
|
||||
# this value will override the server value. See
|
||||
# https://www.php.net/manual/en/session.security.ini.php for more
|
||||
# information.
|
||||
# @default no value
|
||||
cookie_samesite: Lax
|
||||
#
|
||||
# Set the session ID string length. The length can be between 22 to 256. The
|
||||
# PHP recommended value is 48. See
|
||||
# https://www.php.net/manual/session.security.ini.php for more information.
|
||||
@@ -53,6 +64,11 @@ parameters:
|
||||
# \Drupal\Core\Session\SessionConfiguration::__construct()
|
||||
# @default 6
|
||||
sid_bits_per_character: 6
|
||||
# By default, Drupal generates a session cookie name based on the full
|
||||
# domain name. Set the name_suffix to a short random string to ensure this
|
||||
# session cookie name is unique on different installations on the same
|
||||
# domain and path (for example, when migrating from Drupal 7).
|
||||
name_suffix: ''
|
||||
twig.config:
|
||||
# Twig debugging:
|
||||
#
|
||||
@@ -207,9 +223,17 @@ parameters:
|
||||
# Configure requests allowed from specific origins. Do not include trailing
|
||||
# slashes with URLs.
|
||||
allowedOrigins: ['*']
|
||||
# Configure requests allowed from origins, matching against regex patterns.
|
||||
allowedOriginsPatterns: []
|
||||
# Sets the Access-Control-Expose-Headers header.
|
||||
exposedHeaders: false
|
||||
# Sets the Access-Control-Max-Age header.
|
||||
maxAge: false
|
||||
# Sets the Access-Control-Allow-Credentials header.
|
||||
supportsCredentials: false
|
||||
|
||||
queue.config:
|
||||
# The maximum number of seconds to wait if a queue is temporarily suspended.
|
||||
# This is not applicable when a queue is suspended but does not specify
|
||||
# how long to wait before attempting to resume.
|
||||
suspendMaximumWait: 30
|
||||
|
@@ -24,18 +24,18 @@
|
||||
* 'sites/default' will be used.
|
||||
*
|
||||
* For example, for a fictitious site installed at
|
||||
* https://www.drupal.org:8080/mysite/test/, the 'settings.php' file is searched
|
||||
* https://www.drupal.org:8080/my-site/test/, the 'settings.php' file is searched
|
||||
* for in the following directories:
|
||||
*
|
||||
* - sites/8080.www.drupal.org.mysite.test
|
||||
* - sites/www.drupal.org.mysite.test
|
||||
* - sites/drupal.org.mysite.test
|
||||
* - sites/org.mysite.test
|
||||
* - sites/8080.www.drupal.org.my-site.test
|
||||
* - sites/www.drupal.org.my-site.test
|
||||
* - sites/drupal.org.my-site.test
|
||||
* - sites/org.my-site.test
|
||||
*
|
||||
* - sites/8080.www.drupal.org.mysite
|
||||
* - sites/www.drupal.org.mysite
|
||||
* - sites/drupal.org.mysite
|
||||
* - sites/org.mysite
|
||||
* - sites/8080.www.drupal.org.my-site
|
||||
* - sites/www.drupal.org.my-site
|
||||
* - sites/drupal.org.my-site
|
||||
* - sites/org.my-site
|
||||
*
|
||||
* - sites/8080.www.drupal.org
|
||||
* - sites/www.drupal.org
|
||||
@@ -46,8 +46,8 @@
|
||||
*
|
||||
* Note that if you are installing on a non-standard port number, prefix the
|
||||
* hostname with that number. For example,
|
||||
* https://www.drupal.org:8080/mysite/test/ could be loaded from
|
||||
* sites/8080.www.drupal.org.mysite.test/.
|
||||
* https://www.drupal.org:8080/my-site/test/ could be loaded from
|
||||
* sites/8080.www.drupal.org.my-site.test/.
|
||||
*
|
||||
* @see example.sites.php
|
||||
* @see \Drupal\Core\DrupalKernel::getSitePath()
|
||||
@@ -77,9 +77,9 @@
|
||||
*
|
||||
* @code
|
||||
* $databases['default']['default'] = [
|
||||
* 'database' => 'databasename',
|
||||
* 'username' => 'sqlusername',
|
||||
* 'password' => 'sqlpassword',
|
||||
* 'database' => 'database_name',
|
||||
* 'username' => 'sql_username',
|
||||
* 'password' => 'sql_password',
|
||||
* 'host' => 'localhost',
|
||||
* 'port' => '3306',
|
||||
* 'driver' => 'mysql',
|
||||
@@ -181,8 +181,8 @@ $databases = [];
|
||||
*
|
||||
* WARNING: The above defaults are designed for database portability. Changing
|
||||
* them may cause unexpected behavior, including potential data loss. See
|
||||
* https://www.drupal.org/developing/api/database/configuration for more
|
||||
* information on these defaults and the potential issues.
|
||||
* https://www.drupal.org/docs/8/api/database-api/database-configuration for
|
||||
* more information on these defaults and the potential issues.
|
||||
*
|
||||
* More details can be found in the constructor methods for each driver:
|
||||
* - \Drupal\mysql\Driver\Database\mysql\Connection::__construct()
|
||||
@@ -193,9 +193,9 @@ $databases = [];
|
||||
* @code
|
||||
* $databases['default']['default'] = [
|
||||
* 'driver' => 'pgsql',
|
||||
* 'database' => 'databasename',
|
||||
* 'username' => 'sqlusername',
|
||||
* 'password' => 'sqlpassword',
|
||||
* 'database' => 'database_name',
|
||||
* 'username' => 'sql_username',
|
||||
* 'password' => 'sql_password',
|
||||
* 'host' => 'localhost',
|
||||
* 'prefix' => '',
|
||||
* ];
|
||||
@@ -205,7 +205,7 @@ $databases = [];
|
||||
* @code
|
||||
* $databases['default']['default'] = [
|
||||
* 'driver' => 'sqlite',
|
||||
* 'database' => '/path/to/databasefilename',
|
||||
* 'database' => '/path/to/database_filename',
|
||||
* ];
|
||||
* @endcode
|
||||
*
|
||||
@@ -215,13 +215,34 @@ $databases = [];
|
||||
* 'driver' => 'my_driver',
|
||||
* 'namespace' => 'Drupal\my_module\Driver\Database\my_driver',
|
||||
* 'autoload' => 'modules/my_module/src/Driver/Database/my_driver/',
|
||||
* 'database' => 'databasename',
|
||||
* 'username' => 'sqlusername',
|
||||
* 'password' => 'sqlpassword',
|
||||
* 'database' => 'database_name',
|
||||
* 'username' => 'sql_username',
|
||||
* 'password' => 'sql_password',
|
||||
* 'host' => 'localhost',
|
||||
* 'prefix' => '',
|
||||
* ];
|
||||
* @endcode
|
||||
*
|
||||
* Sample Database configuration format for a driver that is extending another
|
||||
* database driver.
|
||||
* @code
|
||||
* $databases['default']['default'] = [
|
||||
* 'driver' => 'my_driver',
|
||||
* 'namespace' => 'Drupal\my_module\Driver\Database\my_driver',
|
||||
* 'autoload' => 'modules/my_module/src/Driver/Database/my_driver/',
|
||||
* 'database' => 'database_name',
|
||||
* 'username' => 'sql_username',
|
||||
* 'password' => 'sql_password',
|
||||
* 'host' => 'localhost',
|
||||
* 'prefix' => '',
|
||||
* 'dependencies' => [
|
||||
* 'parent_module' => [
|
||||
* 'namespace' => 'Drupal\parent_module',
|
||||
* 'autoload' => 'core/modules/parent_module/src/',
|
||||
* ],
|
||||
* ],
|
||||
* ];
|
||||
* @endcode
|
||||
*/
|
||||
|
||||
/**
|
||||
@@ -256,7 +277,8 @@ $databases = [];
|
||||
* variable has the same value on each server.
|
||||
*
|
||||
* For enhanced security, you may set this variable to the contents of a file
|
||||
* outside your document root; you should also ensure that this file is not
|
||||
* outside your document root, and vary the value across environments (like
|
||||
* production and development); you should also ensure that this file is not
|
||||
* stored with backups of your database.
|
||||
*
|
||||
* Example:
|
||||
@@ -333,14 +355,13 @@ $settings['update_free_access'] = FALSE;
|
||||
* security, or encryption benefits. In an environment where Drupal
|
||||
* is behind a reverse proxy, the real IP address of the client should
|
||||
* be determined such that the correct client IP address is available
|
||||
* to Drupal's logging, statistics, and access management systems. In
|
||||
* the most simple scenario, the proxy server will add an
|
||||
* X-Forwarded-For header to the request that contains the client IP
|
||||
* address. However, HTTP headers are vulnerable to spoofing, where a
|
||||
* malicious client could bypass restrictions by setting the
|
||||
* X-Forwarded-For header directly. Therefore, Drupal's proxy
|
||||
* configuration requires the IP addresses of all remote proxies to be
|
||||
* specified in $settings['reverse_proxy_addresses'] to work correctly.
|
||||
* to Drupal's logging and access management systems. In the most simple
|
||||
* scenario, the proxy server will add an X-Forwarded-For header to the request
|
||||
* that contains the client IP address. However, HTTP headers are vulnerable to
|
||||
* spoofing, where a malicious client could bypass restrictions by setting the
|
||||
* X-Forwarded-For header directly. Therefore, Drupal's proxy configuration
|
||||
* requires the IP addresses of all remote proxies to be specified in
|
||||
* $settings['reverse_proxy_addresses'] to work correctly.
|
||||
*
|
||||
* Enable this setting to get Drupal to determine the client IP from the
|
||||
* X-Forwarded-For header. If you are unsure about this setting, do not have a
|
||||
@@ -486,6 +507,15 @@ $settings['update_free_access'] = FALSE;
|
||||
# $settings['file_chmod_directory'] = 0775;
|
||||
# $settings['file_chmod_file'] = 0664;
|
||||
|
||||
/**
|
||||
* Optimized assets path:
|
||||
*
|
||||
* A local file system path where optimized assets will be stored. This directory
|
||||
* must exist and be writable by Drupal. This directory must be relative to
|
||||
* the Drupal installation directory and be accessible over the web.
|
||||
*/
|
||||
# $settings['file_assets_path'] = 'sites/default/files';
|
||||
|
||||
/**
|
||||
* Public file base URL:
|
||||
*
|
||||
@@ -550,6 +580,23 @@ $settings['update_free_access'] = FALSE;
|
||||
*/
|
||||
# $settings['file_sa_core_2023_005_schemes'] = ['porcelain'];
|
||||
|
||||
/**
|
||||
* Configuration for phpinfo() admin status report.
|
||||
*
|
||||
* Drupal's admin UI includes a report at admin/reports/status/php which shows
|
||||
* the output of phpinfo(). The full output can contain sensitive information
|
||||
* so by default Drupal removes some sections.
|
||||
*
|
||||
* This behavior can be configured by setting this variable to a different
|
||||
* value corresponding to the flags parameter of phpinfo().
|
||||
*
|
||||
* If you need to expose more information in the report - for example to debug a
|
||||
* problem - consider doing so temporarily.
|
||||
*
|
||||
* @see https://www.php.net/manual/function.phpinfo.php
|
||||
*/
|
||||
# $settings['sa_core_2023_004_phpinfo_flags'] = ~ (INFO_VARIABLES | INFO_ENVIRONMENT);
|
||||
|
||||
/**
|
||||
* Private file path:
|
||||
*
|
||||
@@ -599,7 +646,7 @@ $settings['update_free_access'] = FALSE;
|
||||
* any added language. (eg locale_custom_strings_de for german).
|
||||
*/
|
||||
# $settings['locale_custom_strings_en'][''] = [
|
||||
# 'forum' => 'Discussion board',
|
||||
# 'Home' => 'Front page',
|
||||
# '@count min' => '@count minutes',
|
||||
# ];
|
||||
|
||||
@@ -724,6 +771,7 @@ $settings['container_yamls'][] = $app_root . '/' . $site_path . '/services.yml';
|
||||
*
|
||||
* @see https://www.drupal.org/docs/installing-drupal/trusted-host-settings
|
||||
*/
|
||||
# $settings['trusted_host_patterns'] = [];
|
||||
|
||||
/**
|
||||
* The default list of directories that will be ignored by Drupal's file API.
|
||||
@@ -759,6 +807,16 @@ $settings['entity_update_batch_size'] = 50;
|
||||
*/
|
||||
$settings['entity_update_backup'] = TRUE;
|
||||
|
||||
/**
|
||||
* State caching.
|
||||
*
|
||||
* State caching uses the cache collector pattern to cache all requested keys
|
||||
* from the state API in a single cache entry, which can greatly reduce the
|
||||
* amount of database queries. However, some sites may use state with a
|
||||
* lot of dynamic keys which could result in a very large cache.
|
||||
*/
|
||||
$settings['state_cache'] = TRUE;
|
||||
|
||||
/**
|
||||
* Node migration type.
|
||||
*
|
||||
|
Reference in New Issue
Block a user