diff --git a/config/default/config_split.config_split.live.yml b/config/default/config_split.config_split.live.yml new file mode 100644 index 0000000..2d86384 --- /dev/null +++ b/config/default/config_split.config_split.live.yml @@ -0,0 +1,16 @@ +uuid: 1ee9c84f-5545-4ee4-9e18-c998a249c546 +langcode: en +status: false +dependencies: { } +id: live +label: Live +description: '' +folder: ../config/splits/live +module: { } +theme: { } +blacklist: + - google_analytics.settings +graylist: { } +graylist_dependents: true +graylist_skip_equal: true +weight: 0 diff --git a/config/splits/live/.htaccess b/config/splits/live/.htaccess new file mode 100644 index 0000000..c323d54 --- /dev/null +++ b/config/splits/live/.htaccess @@ -0,0 +1,27 @@ +# 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 + + + php_flag engine off + \ No newline at end of file diff --git a/config/splits/live/google_analytics.settings.yml b/config/splits/live/google_analytics.settings.yml new file mode 100644 index 0000000..1e438a6 --- /dev/null +++ b/config/splits/live/google_analytics.settings.yml @@ -0,0 +1,37 @@ +account: UA-11967257-1 +premium: false +domain_mode: 0 +cross_domains: '' +visibility: + request_path_mode: 0 + request_path_pages: "/admin\r\n/admin/*\r\n/batch\r\n/node/add*\r\n/node/*/*\r\n/user/*/*" + user_role_mode: 0 + user_role_roles: { } + user_account_mode: 0 +track: + outbound: true + mailto: true + files: true + files_extensions: '7z|aac|arc|arj|asf|asx|avi|bin|csv|doc(x|m)?|dot(x|m)?|exe|flv|gif|gz|gzip|hqx|jar|jpe?g|js|mp(2|3|4|e?g)|mov(ie)?|msi|msp|pdf|phps|png|ppt(x|m)?|pot(x|m)?|pps(x|m)?|ppam|sld(x|m)?|thmx|qtm?|ra(m|r)?|sea|sit|tar|tgz|torrent|txt|wav|wma|wmv|wpd|xls(x|m|b)?|xlt(x|m)|xlam|xml|z|zip' + colorbox: true + linkid: false + urlfragments: false + userid: false + messages: { } + site_search: false + adsense: false + displayfeatures: false +privacy: + anonymizeip: true +custom: + dimension: { } + metric: { } +codesnippet: + create: { } + before: '' + after: '' +translation_set: false +cache: false +debug: false +_core: + default_config_hash: SMk3vOyh4KT6rXnqkDcNQ51YGpJzRV5hyig5SSIfU6U diff --git a/tools/ansible/vars/deploy_vars.yml b/tools/ansible/vars/deploy_vars.yml index c899a1b..b6d27c5 100644 --- a/tools/ansible/vars/deploy_vars.yml +++ b/tools/ansible/vars/deploy_vars.yml @@ -41,3 +41,5 @@ drupal_settings: 'devel', 'stage_file_proxy', ]; + + $config['config_split.config_split.live']['status'] = TRUE;