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

[BUGFIX] Disable some Apache modules first to prevent conflicts

parent 89cef459
No related branches found
No related tags found
No related merge requests found
...@@ -124,6 +124,8 @@ else ...@@ -124,6 +124,8 @@ else
end end
end end
# enable Apache modules (we need to disable php and prefork)
execute "a2dismod php#{node['ubuntu_base']['php_version']} mpm_prefork"
%w{expires deflate rewrite headers http2 ssl proxy_fcgi mpm_event}.each do |module_name| %w{expires deflate rewrite headers http2 ssl proxy_fcgi mpm_event}.each do |module_name|
execute 'a2enmod ' + module_name execute 'a2enmod ' + module_name
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