Skip to content
Snippets Groups Projects
Commit 0f0353d4 authored by Stefan Galinski's avatar Stefan Galinski :video_game:
Browse files

[FEATURE] Add option to enable/disable HTTP2

parent aee0dbc3
No related branches found
No related tags found
No related merge requests found
......@@ -4,6 +4,7 @@ default['typo3_site']['site_configuration'] = 'SiteConfiguration.php'
default['typo3_site']['server_aliases'] = 'www.site.dev'
default['typo3_site']['hostname'] = 'site.dev'
default['typo3_site']['web_directory'] = ''
default['typo3_site']['allow_http2'] = false
default['typo3_site']['repository'] = ''
default['typo3_site']['repository_hostname'] = ''
default['typo3_site']['repository_port'] = 22
......
......@@ -55,7 +55,7 @@ if node['platform_version'] == '16.04'
action :add
end
execute 'apt-get -y update'
execute 'apt -y update'
end
include_recipe 'graphicsmagick'
......@@ -72,6 +72,12 @@ if node['platform_version'] == '16.04'
apache_module 'http2' do
enable true
only_if { node['typo3_site']['allow_http2'] }
end
apache_module 'http2' do
disable true
only_if { not node['typo3_site']['allow_http2'] }
end
else
include_recipe 'apache2::mod_php5'
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment