Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
H
haproxy
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Monitor
Incidents
Service Desk
Analyze
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
Ansible
Roles
haproxy
Commits
0a8468a1
Commit
0a8468a1
authored
7 years ago
by
jurgenhaas
Browse files
Options
Downloads
Patches
Plain Diff
Allow to deactivate letsencrypt certs, i.e. while DNS is not available yet
parent
229fd0ec
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
templates/haproxy_cfg.jinja2
+2
-0
2 additions, 0 deletions
templates/haproxy_cfg.jinja2
with
2 additions
and
0 deletions
templates/haproxy_cfg.jinja2
+
2
−
0
View file @
0a8468a1
...
...
@@ -159,6 +159,7 @@ frontend http_in
{% endif %}
{% endfor %}
{% for cert in proxy_certificates %}
{% if cert.active|default(true) %}
frontend https_in_{{ cert.ip }}
bind {{ cert.ip }}:443 ssl crt /etc/haproxy/certs/{{ cert.file }} no-sslv3
...
...
@@ -274,6 +275,7 @@ backend backend_{{ external.key }}
{% endfor %}
server server_{{ external.key }} {{ external.server }}{{ external.check|default(true)|ternary(' check ','') }} {{ external.options|default('') }}
{% endfor %}
{% endif %}
{% endfor %}
{% if proxy_default_backend not in groups['webserver'] %}
...
...
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