Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
apache
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
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
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
webarch
apache
Commits
d71a940d
Commit
d71a940d
authored
5 years ago
by
Chris Croome
Browse files
Options
Downloads
Patches
Plain Diff
tweaks
parent
8fb45cbf
No related branches found
Branches containing commit
No related tags found
Tags containing commit
1 merge request
!2
MPM switching and TLS 1.3
Pipeline
#9753
passed
5 years ago
Stage: test
Changes
4
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
tasks/a2mod.yml
+2
-2
2 additions, 2 deletions
tasks/a2mod.yml
tasks/config.yml
+1
-1
1 addition, 1 deletion
tasks/config.yml
templates/localhost.conf.j2
+2
-2
2 additions, 2 deletions
templates/localhost.conf.j2
templates/mpm_prefork.conf.j2
+2
-2
2 additions, 2 deletions
templates/mpm_prefork.conf.j2
with
7 additions
and
7 deletions
tasks/a2mod.yml
+
2
−
2
View file @
d71a940d
...
...
@@ -8,7 +8,7 @@
-
libapache2-mpm-itk
state
:
absent
update_cache
:
false
when
:
'
"mpm
-
itk"
in
apache_mods_disabled'
when
:
'
"mpm
_
itk"
in
apache_mods_disabled'
-
name
:
Apache FastCGI absent
apt
:
...
...
@@ -59,7 +59,7 @@
-
libapache2-mpm-itk
state
:
present
update_cache
:
false
when
:
'
"mpm
-
itk"
in
apache_mods_enabled'
when
:
'
"mpm
_
itk"
in
apache_mods_enabled'
-
name
:
Apache Suexec package present
apt
:
...
...
This diff is collapsed.
Click to expand it.
tasks/config.yml
+
1
−
1
View file @
d71a940d
...
...
@@ -58,7 +58,7 @@
template
:
src
:
templates/mpm_prefork.conf.j2
dest
:
/etc/apache2/mods-available/mpm_prefork.conf
when
:
( "mpm
-
itk" in apache_mods_enabled ) or (
"php7.0" in apache_mods_enabled ) or ( "php7.3"
in apache_mods_enabled )
when
:
( "mpm
_
itk" in apache_mods_enabled ) or (
apache_phpfpm_mod
in apache_mods_enabled )
-
name
:
Apache ratelimit conf present
template
:
...
...
This diff is collapsed.
Click to expand it.
templates/localhost.conf.j2
+
2
−
2
View file @
d71a940d
...
...
@@ -3,7 +3,7 @@
<
VirtualHost
127.0.0.1:80
>
ServerName
localhost
{%
if
apache_mods_enabled is defined %}
{%
if
"mpm
-
itk"
in
apache_mods_enabled %}
{%
if
"mpm
_
itk"
in
apache_mods_enabled %}
<
IfModule
mpm_itk_module
>
AssignUserID www-data www-data
</IfModule>
...
...
@@ -35,7 +35,7 @@
AllowOverride
AuthConfig
Indexes
FileInfo
Limit
Require
host
localhost 127.0.0.1 ::1
{%
if
apache_mods_enabled is defined %}
{%
if
"php7.0"
in
apache_mods_enabled
or
"php7.2"
in
apache_mods_enabled
or
"php7.3"
in
apache_mods_enabled %}
{%
if
apache_phpfpm_mod
in
apache_mods_enabled %}
<
IfModule
php7_module
>
php_admin_value doc_root /var/www/localhost
php_admin_value open_basedir /var/www/localhost/:/tmp/:/usr/share/php/
...
...
This diff is collapsed.
Click to expand it.
templates/mpm_prefork.conf.j2
+
2
−
2
View file @
d71a940d
...
...
@@ -12,8 +12,8 @@
MaxSpareServers
10
MaxRequestWorkers
{{ apache_mpm_max_request_workers | default('150') }}
MaxConnectionsPerChild
{{ apache_mpm_max_connections_per_child |
default
('0') }}
{%
if
"mpm
-
itk"
in
apache_mods_enabled %}
# Fix for exim panic log issue with mod
-
itk
{%
if
"mpm
_
itk"
in
apache_mods_enabled %}
# Fix for exim panic log issue with mod
_
itk
LimitUIDRange 0 2000
{%
endif %}
...
...
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