Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
T
typo3_site
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Chef Cookbooks
typo3_site
Commits
b1536b1b
Commit
b1536b1b
authored
4 years ago
by
Stefan Galinski
Browse files
Options
Downloads
Patches
Plain Diff
[BUGFIX] Disable some Apache modules first to prevent conflicts
parent
89cef459
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
recipes/default.rb
+2
-0
2 additions, 0 deletions
recipes/default.rb
with
2 additions
and
0 deletions
recipes/default.rb
+
2
−
0
View file @
b1536b1b
...
@@ -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
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment