Browse Source

stuff

master
Josh Fabean 4 years ago
parent
commit
e4cb3a65b7
8 changed files with 83 additions and 5 deletions
  1. +3
    -2
      config/default/default/config_split.config_split.prod.yml
  2. +3
    -2
      config/default/default/config_split.config_split.stage.yml
  3. +1
    -1
      config/default/local/system.site.yml
  4. +24
    -0
      config/default/prod/.htaccess
  5. +14
    -0
      config/default/prod/system.site.yml
  6. +0
    -0
      config/default/production/.gitkeep
  7. +24
    -0
      config/default/stage/.htaccess
  8. +14
    -0
      config/default/stage/system.site.yml

+ 3
- 2
config/default/default/config_split.config_split.prod.yml View File

@ -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

+ 3
- 2
config/default/default/config_split.config_split.stage.yml View File

@ -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

+ 1
- 1
config/default/local/system.site.yml View File

@ -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:


+ 24
- 0
config/default/prod/.htaccess View File

@ -0,0 +1,24 @@
# Deny all requests from Apache 2.4+.
<IfModule mod_authz_core.c>
Require all denied
</IfModule>
# Deny all requests from Apache 2.0-2.2.
<IfModule !mod_authz_core.c>
Deny from all
</IfModule>
# 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
<Files *>
# Override the handler again if we're run later in the evaluation list.
SetHandler Drupal_Security_Do_Not_Remove_See_SA_2013_003
</Files>
# If we know how to do it safely, disable the PHP engine entirely.
<IfModule mod_php5.c>
php_flag engine off
</IfModule>

+ 14
- 0
config/default/prod/system.site.yml View File

@ -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

+ 0
- 0
config/default/production/.gitkeep View File


+ 24
- 0
config/default/stage/.htaccess View File

@ -0,0 +1,24 @@
# Deny all requests from Apache 2.4+.
<IfModule mod_authz_core.c>
Require all denied
</IfModule>
# Deny all requests from Apache 2.0-2.2.
<IfModule !mod_authz_core.c>
Deny from all
</IfModule>
# 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
<Files *>
# Override the handler again if we're run later in the evaluation list.
SetHandler Drupal_Security_Do_Not_Remove_See_SA_2013_003
</Files>
# If we know how to do it safely, disable the PHP engine entirely.
<IfModule mod_php5.c>
php_flag engine off
</IfModule>

+ 14
- 0
config/default/stage/system.site.yml View File

@ -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

Loading…
Cancel
Save