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
Iterations
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Terraform modules
Monitor
Service Desk
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
FSI Ansible
haproxy
Commits
2f666458
Verified
Commit
2f666458
authored
Jul 5, 2019
by
Tilman Vatteroth
Browse files
Options
Downloads
Patches
Plain Diff
removes deprecated actions
parent
2518095d
Branches
Branches containing commit
Tags
Tags containing commit
1 merge request
!15
removes deprecated actions
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
README.md
+0
-14
0 additions, 14 deletions
README.md
templates/backend.cfg
+0
-36
0 additions, 36 deletions
templates/backend.cfg
templates/frontend.cfg
+0
-36
0 additions, 36 deletions
templates/frontend.cfg
with
0 additions
and
86 deletions
README.md
+
0
−
14
View file @
2f666458
...
...
@@ -132,20 +132,6 @@ haproxy_frontends:
timeout:
- param:
value:
reqadd:
- "X-RequestHeader1:\\ some-value"
- "X-RequestHeader2:\\ some-value"
rspadd:
- "X-ResponseHeader1:\\ some-value"
- "X-ResponseHeader2:\\ some-value"
reqrep:
- "^Host:\ www.(.*)$ Host:\ \1 if host_www"
reqirep:
- "^Host:\ www.(.*)$ Host:\ \1 if host_www"
rsprep:
- "^Location:\ 127.0.0.1:8080 Location:\ www.mydomain.com"
rspirep:
- "^Location:\ 127.0.0.1:8080 Location:\ www.mydomain.com"
haproxy_backends:
- name:
...
...
This diff is collapsed.
Click to expand it.
templates/backend.cfg
+
0
−
36
View file @
2f666458
...
...
@@ -77,42 +77,6 @@ backend {{ item.name }}
{%
endfor
-%}
{%
endif
-%}
{%-
if
item.reqadd
is
defined
-%}
{%-
for
reqadd
in
item.reqadd
-%}
reqadd
{{
reqadd
}}
{%
endfor
-%}
{%
endif
-%}
{%-
if
item.rspadd
is
defined
-%}
{%-
for
rspadd
in
item.rspadd
-%}
rspadd
{{
rspadd
}}
{%
endfor
-%}
{%
endif
-%}
{%-
if
item.reqrep
is
defined
-%}
{%-
for
reqrep
in
item.reqrep
-%}
reqrep
{{
reqrep
}}
{%
endfor
-%}
{%
endif
-%}
{%-
if
item.reqirep
is
defined
-%}
{%-
for
reqirep
in
item.reqirep
-%}
reqirep
{{
reqirep
}}
{%
endfor
-%}
{%
endif
-%}
{%-
if
item.rsprep
is
defined
-%}
{%-
for
rsprep
in
item.rsprep
-%}
rsprep
{{
rsprep
}}
{%
endfor
-%}
{%
endif
-%}
{%-
if
item.rspirep
is
defined
-%}
{%-
for
rspirep
in
item.rspirep
-%}
rspirep
{{
rspirep
}}
{%
endfor
-%}
{%
endif
-%}
{%-
if
item.timeout
is
defined
-%}
{%-
for
entry
in
item.timeout
-%}
timeout
{{
entry.param
}}
{{
entry.value
}}
...
...
This diff is collapsed.
Click to expand it.
templates/frontend.cfg
+
0
−
36
View file @
2f666458
...
...
@@ -58,42 +58,6 @@ frontend {{ item.name }} {%if item.ip is defined %}{{ item.ip }}{% endif %}{%if
{%
endfor
%}
{%
endif
-%}
{%-
if
item.reqadd
is
defined
-%}
{%-
for
reqadd
in
item.reqadd
-%}
reqadd
{{
reqadd
}}
{%
endfor
-%}
{%
endif
-%}
{%-
if
item.rspadd
is
defined
-%}
{%-
for
rspadd
in
item.rspadd
-%}
rspadd
{{
rspadd
}}
{%
endfor
-%}
{%
endif
-%}
{%-
if
item.reqrep
is
defined
-%}
{%-
for
reqrep
in
item.reqrep
-%}
reqrep
{{
reqrep
}}
{%
endfor
-%}
{%
endif
-%}
{%-
if
item.reqirep
is
defined
-%}
{%-
for
reqirep
in
item.reqirep
-%}
reqirep
{{
reqirep
}}
{%
endfor
-%}
{%
endif
-%}
{%-
if
item.rsprep
is
defined
-%}
{%-
for
rsprep
in
item.rsprep
-%}
rsprep
{{
rsprep
}}
{%
endfor
-%}
{%
endif
-%}
{%-
if
item.rspirep
is
defined
-%}
{%-
for
rspirep
in
item.rspirep
-%}
rspirep
{{
rspirep
}}
{%
endfor
-%}
{%
endif
-%}
{%-
if
item.rate_limit_sessions
is
defined
-%}
rate-limit
sessions
{{
item.rate_limit_sessions
}}
{%
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