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
fdd0e5a0
Verified
Commit
fdd0e5a0
authored
1 month ago
by
Chris Croome
Browse files
Options
Downloads
Patches
Plain Diff
add variable for MDCAChallenges
parent
4a6b37c0
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Pipeline
#36776
passed
1 month ago
Stage: trixie
Stage: bookworm
Changes
3
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
defaults/main.yml
+6
-0
6 additions, 0 deletions
defaults/main.yml
meta/argument_specs.yml
+5
-0
5 additions, 0 deletions
meta/argument_specs.yml
templates/md.conf.j2
+1
-2
1 addition, 2 deletions
templates/md.conf.j2
with
12 additions
and
2 deletions
defaults/main.yml
+
6
−
0
View file @
fdd0e5a0
...
...
@@ -242,6 +242,12 @@ apache_md_private_keys:
# Use latest for the latest release or default for the packaged version
apache_md_version
:
latest
apache_md_renew_window
:
33%
# MDCAChallenges, note that tls-alpn-01 (and Protocols acme-tls/1) don't appear
# to work when Cloudflare is in use but if tls-alpn-01 fails mod_md should fall
# back to http-01
apache_md_ca_challenges
:
-
tls-alpn-01
-
http-01
apache_mpm_max_connections_per_child
:
10000
apache_mpm_max_request_workers
:
128
apache_verify
:
true
...
...
This diff is collapsed.
Click to expand it.
meta/argument_specs.yml
+
5
−
0
View file @
fdd0e5a0
...
...
@@ -105,6 +105,11 @@ argument_specs:
type
:
str
required
:
false
description
:
An optional Matomo domain name for the webarch.conf template.
apache_md_ca_challenges
:
type
:
list
elements
:
str
required
:
true
description
:
A list of MDCAChallenges for mod_md.
apache_md_cert_copy
:
type
:
list
elements
:
dict
...
...
This diff is collapsed.
Click to expand it.
templates/md.conf.j2
+
1
−
2
View file @
fdd0e5a0
# {{ ansible_managed }}
<
IfModule
md_module
>
# Note that tls-alpn-01 and acme-tls/1 won't work with Cloudflare but mod_md should fall back to http-01 and http
MDCAChallenges
tls-alpn-01 http-01
MDCAChallenges
{{ apache_md_ca_challenges | join(' ') }}
MDCertificateAgreement
accepted
MDContactEmail "{{ apache_server_admin }}"
MDRenewMode
always
...
...
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