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
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
Eric Zillmann
haproxy
Commits
9408d279
Commit
9408d279
authored
9 years ago
by
jurgenhaas
Browse files
Options
Downloads
Patches
Plain Diff
Support multiple IPs for SSL in HaProxy
parent
6f87f4f5
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
tasks/configure.yml
+1
-1
1 addition, 1 deletion
tasks/configure.yml
templates/haproxy_cfg
+1
-1
1 addition, 1 deletion
templates/haproxy_cfg
with
2 additions
and
2 deletions
tasks/configure.yml
+
1
−
1
View file @
9408d279
...
...
@@ -2,7 +2,7 @@
# file: roles/haproxy/tasks/configure.yml
-
name
:
"
Proxy
|
Install
SSL
certificates"
copy
:
src={{inventory_dir}}/files/ssl/{{item}}
copy
:
src={{inventory_dir}}/files/ssl/{{item
.file
}}
dest=/etc/haproxy/certs
with_items
:
'
{{
proxy_certificates
}}'
notify
:
'
Proxy
|
Restart
HAProxy'
...
...
This diff is collapsed.
Click to expand it.
templates/haproxy_cfg
+
1
−
1
View file @
9408d279
...
...
@@ -64,7 +64,7 @@ frontend http-in
{% for cert in proxy_certificates %}
frontend https-in
bind :443 ssl crt /etc/haproxy/certs/{{ cert }} no-sslv3
bind
{{ cert.ip }}
:443 ssl crt /etc/haproxy/certs/{{ cert
.file
}} no-sslv3
acl blockedip src -i -f /etc/haproxy/blacklist
http-request deny if blockedip
{% for host in groups['all'] %}
...
...
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