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

[BUGFIX] Only activate HTTP2 on Xenial

parent c79797b7
No related branches found
No related tags found
No related merge requests found
...@@ -69,6 +69,10 @@ if node['platform_version'] == '16.04' ...@@ -69,6 +69,10 @@ if node['platform_version'] == '16.04'
action :install action :install
end end
end end
apache_module 'http2' do
enable true
end
else else
include_recipe 'apache2::mod_php5' include_recipe 'apache2::mod_php5'
%w(php5-curl php5-intl php5-gd php5-mcrypt php5-mysql php5-imagick).each do |name| %w(php5-curl php5-intl php5-gd php5-mcrypt php5-mysql php5-imagick).each do |name|
...@@ -78,7 +82,7 @@ else ...@@ -78,7 +82,7 @@ else
end end
end end
%w{expires headers ssl deflate rewrite http2}.each do |name| %w{expires headers ssl deflate rewrite}.each do |name|
apache_module name do apache_module name do
enable true enable true
end end
......
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