From e4cb3a65b7e048f55f48e2b0c2be3100950d9230 Mon Sep 17 00:00:00 2001 From: Josh Fabean Date: Sat, 1 Jun 2019 10:20:58 -0500 Subject: [PATCH] stuff --- .../config_split.config_split.prod.yml | 5 ++-- .../config_split.config_split.stage.yml | 5 ++-- config/default/local/system.site.yml | 2 +- config/default/prod/.htaccess | 24 +++++++++++++++++++ config/default/prod/system.site.yml | 14 +++++++++++ config/default/production/.gitkeep | 0 config/default/stage/.htaccess | 24 +++++++++++++++++++ config/default/stage/system.site.yml | 14 +++++++++++ 8 files changed, 83 insertions(+), 5 deletions(-) create mode 100644 config/default/prod/.htaccess create mode 100644 config/default/prod/system.site.yml delete mode 100644 config/default/production/.gitkeep create mode 100644 config/default/stage/.htaccess create mode 100644 config/default/stage/system.site.yml diff --git a/config/default/default/config_split.config_split.prod.yml b/config/default/default/config_split.config_split.prod.yml index 93e0a9e..0fc8854 100644 --- a/config/default/default/config_split.config_split.prod.yml +++ b/config/default/default/config_split.config_split.prod.yml @@ -8,8 +8,9 @@ description: '' folder: ../config/default/prod module: { } theme: { } -blacklist: { } +blacklist: + - system.site graylist: { } graylist_dependents: true graylist_skip_equal: true -weight: 0 +weight: 1 diff --git a/config/default/default/config_split.config_split.stage.yml b/config/default/default/config_split.config_split.stage.yml index 1243705..61c4256 100644 --- a/config/default/default/config_split.config_split.stage.yml +++ b/config/default/default/config_split.config_split.stage.yml @@ -8,8 +8,9 @@ description: '' folder: ../config/default/stage module: { } theme: { } -blacklist: { } +blacklist: + - system.site graylist: { } graylist_dependents: true graylist_skip_equal: true -weight: 0 +weight: 1 diff --git a/config/default/local/system.site.yml b/config/default/local/system.site.yml index f7da2ea..8a33264 100644 --- a/config/default/local/system.site.yml +++ b/config/default/local/system.site.yml @@ -1,5 +1,5 @@ uuid: 45a5db0b-dd4e-4889-b1a0-3160c60e17ef -name: 'Config Split Sample' +name: 'Local: Config Split Sample' mail: me@joshfabean.com slogan: '' page: diff --git a/config/default/prod/.htaccess b/config/default/prod/.htaccess new file mode 100644 index 0000000..0e4a69a --- /dev/null +++ b/config/default/prod/.htaccess @@ -0,0 +1,24 @@ +# Deny all requests from Apache 2.4+. + + Require all denied + + +# Deny all requests from Apache 2.0-2.2. + + Deny from all + + +# Turn off all options we don't need. +Options -Indexes -ExecCGI -Includes -MultiViews + +# Set the catch-all handler to prevent scripts from being executed. +SetHandler Drupal_Security_Do_Not_Remove_See_SA_2006_006 + + # Override the handler again if we're run later in the evaluation list. + SetHandler Drupal_Security_Do_Not_Remove_See_SA_2013_003 + + +# If we know how to do it safely, disable the PHP engine entirely. + + php_flag engine off + \ No newline at end of file diff --git a/config/default/prod/system.site.yml b/config/default/prod/system.site.yml new file mode 100644 index 0000000..3d3a177 --- /dev/null +++ b/config/default/prod/system.site.yml @@ -0,0 +1,14 @@ +uuid: 45a5db0b-dd4e-4889-b1a0-3160c60e17ef +name: 'Prod_real: Config Split Sample' +mail: me@joshfabean.com +slogan: '' +page: + 403: '' + 404: '' + front: /node +admin_compact_mode: false +weight_select_max: 100 +langcode: en +default_langcode: en +_core: + default_config_hash: yTxtFqBHnEWxQswuWvkjE8mKw2t8oKuCL1q8KnfHuGE diff --git a/config/default/production/.gitkeep b/config/default/production/.gitkeep deleted file mode 100644 index e69de29..0000000 diff --git a/config/default/stage/.htaccess b/config/default/stage/.htaccess new file mode 100644 index 0000000..0e4a69a --- /dev/null +++ b/config/default/stage/.htaccess @@ -0,0 +1,24 @@ +# Deny all requests from Apache 2.4+. + + Require all denied + + +# Deny all requests from Apache 2.0-2.2. + + Deny from all + + +# Turn off all options we don't need. +Options -Indexes -ExecCGI -Includes -MultiViews + +# Set the catch-all handler to prevent scripts from being executed. +SetHandler Drupal_Security_Do_Not_Remove_See_SA_2006_006 + + # Override the handler again if we're run later in the evaluation list. + SetHandler Drupal_Security_Do_Not_Remove_See_SA_2013_003 + + +# If we know how to do it safely, disable the PHP engine entirely. + + php_flag engine off + \ No newline at end of file diff --git a/config/default/stage/system.site.yml b/config/default/stage/system.site.yml new file mode 100644 index 0000000..7410be3 --- /dev/null +++ b/config/default/stage/system.site.yml @@ -0,0 +1,14 @@ +uuid: 45a5db0b-dd4e-4889-b1a0-3160c60e17ef +name: 'Stage: Config Split Sample' +mail: me@joshfabean.com +slogan: '' +page: + 403: '' + 404: '' + front: /node +admin_compact_mode: false +weight_select_max: 100 +langcode: en +default_langcode: en +_core: + default_config_hash: yTxtFqBHnEWxQswuWvkjE8mKw2t8oKuCL1q8KnfHuGE