Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
public-items
ansible-sc_pack-public
Commits
e8c4feca
Commit
e8c4feca
authored
Oct 21, 2020
by
Carlos Torres
Browse files
Upading default haproxy timeout.
parent
b18afa96
Changes
14
Hide whitespace changes
Inline
Side-by-side
roles/create_deploy_type_cdn/templates/config/example-results/haproxy.cfg
View file @
e8c4feca
...
...
@@ -15,14 +15,14 @@ listen stats
frontend http_to_https_redirects
bind *:80
timeout client
30
m
timeout client
5
m
mode http
redirect scheme https code 301 if !{ ssl_fc }
frontend https
bind *:443
timeout client
30
m
timeout client
5
m
mode tcp
## Sticky tables to deter script kiddies, comment for load-testing
...
...
@@ -54,14 +54,14 @@ frontend https
#https-backend-bare-entry
backend example_com_https_01
timeout server
30
m
timeout server
5
m
timeout connect 5m
balance leastconn
server HTTPS_1_example_com4011 127.0.0.1:4011 check port 8010 send-proxy-v2
frontend to_application
bind *:4430
timeout client
30
m
timeout client
5
m
timeout server 5m
timeout connect 5m
mode http
...
...
roles/create_deploy_type_cdn/templates/config/haproxy/https-backend-bare-entry.txt.jinja2
View file @
e8c4feca
...
...
@@ -8,7 +8,7 @@
{% endif %}
backend {{haproxy_acl}}_https_01
timeout server
30
m
timeout server
5
m
timeout connect 5m
balance leastconn
{% set weight_ = https_port_list | count %}
...
...
roles/create_deploys/templates/config/option-1/example-results/haproxy.cfg
View file @
e8c4feca
...
...
@@ -15,7 +15,7 @@ listen stats
frontend httpredirects
bind *:80
timeout client
30
m
timeout client
5
m
mode http
#http-entry
...
...
@@ -42,7 +42,7 @@ backend bare_http_example_com
frontend https
# Temporary bind
bind *:443
timeout client
30
m
timeout client
5
m
mode tcp
## Sticky tables to deter script kiddies, comment for load-testing
...
...
roles/create_deploys/templates/config/option-2/example-results/haproxy.cfg
View file @
e8c4feca
...
...
@@ -15,7 +15,7 @@ listen stats
frontend http_to_https_redirects
bind *:80
timeout client
30
m
timeout client
5
m
mode http
acl is_wellknown path -i -m beg /.well-known
...
...
@@ -35,14 +35,14 @@ frontend http_to_https_redirects
backend bare_http_wellknown_example_com
mode http
timeout server
30
m
timeout server
5
m
timeout connect 5m
balance leastconn
server HTTP_wellknown_example_com8011 127.0.0.1:8011
frontend https
bind *:443
timeout client
30
m
timeout client
5
m
mode tcp
## Sticky tables to deter script kiddies, comment for load-testing
...
...
@@ -74,7 +74,7 @@ frontend https
#https-backend-bare-entry
backend example_com_https_01
timeout server
30
m
timeout server
5
m
timeout connect 5m
balance leastconn
server HTTPS_1_example_com4011 127.0.0.1:4011 check port 8011 send-proxy-v2
...
...
@@ -83,7 +83,7 @@ backend example_com_https_01
frontend to_application
bind *:4430
timeout client
30
m
timeout client
5
m
timeout server 5m
timeout connect 5m
mode http
...
...
roles/create_deploys/templates/config/option-2/haproxy/http-backend-bare-entry.txt.jinja2
View file @
e8c4feca
...
...
@@ -9,7 +9,7 @@
backend bare_http_{{haproxy_acl}}
mode http
timeout server
30
m
timeout server
5
m
timeout connect 5m
balance leastconn
{% set weight_ = http_port_list | count %}
...
...
roles/create_deploys/templates/config/option-2/haproxy/http-wellknown-backend-bare-entry.txt.jinja2
View file @
e8c4feca
...
...
@@ -9,7 +9,7 @@
backend bare_http_wellknown_{{haproxy_acl}}
mode http
timeout server
30
m
timeout server
5
m
timeout connect 5m
balance leastconn
server HTTP_wellknown_{{haproxy_acl}}{{ http_port_list[0] }} 127.0.0.1:{{http_port_list[0]}}
roles/create_deploys/templates/config/option-2/haproxy/https-backend-bare-entry.txt.jinja2
View file @
e8c4feca
...
...
@@ -8,7 +8,7 @@
{% endif %}
backend {{haproxy_acl}}_https_01
timeout server
30
m
timeout server
5
m
timeout connect 5m
balance leastconn
{% set weight_ = https_port_list | count %}
...
...
roles/create_deploys/templates/config/option-3/example-results/haproxy.cfg
View file @
e8c4feca
...
...
@@ -15,7 +15,7 @@ listen stats
frontend httpredirects
bind *:80
timeout client
30
m
timeout client
5
m
mode http
#http-entry
...
...
@@ -42,7 +42,7 @@ backend bare_http_example_com
frontend https
# Temporary bind
bind *:443
timeout client
30
m
timeout client
5
m
mode tcp
## Sticky tables to deter script kiddies, comment for load-testing
...
...
roles/create_deploys/templates/config/option-4/example-results/haproxy.cfg
View file @
e8c4feca
...
...
@@ -15,7 +15,7 @@ listen stats
frontend http_to_https_redirects
bind *:80
timeout client
30
m
timeout client
5
m
mode http
acl is_wellknown path -i -m beg /.well-known
...
...
@@ -35,14 +35,14 @@ frontend http_to_https_redirects
backend bare_http_wellknown_example_com
mode http
timeout server
30
m
timeout server
5
m
timeout connect 5m
balance leastconn
server HTTP_wellknown_example_com8011 127.0.0.1:8011
frontend https
bind *:443
timeout client
30
m
timeout client
5
m
mode tcp
## Sticky tables to deter script kiddies, comment for load-testing
...
...
@@ -74,7 +74,7 @@ frontend https
#https-backend-bare-entry
backend example_com_https_01
timeout server
30
m
timeout server
5
m
timeout connect 5m
balance leastconn
server HTTPS_1_example_com4011 127.0.0.1:4011 check port 8011 send-proxy-v2
...
...
@@ -83,7 +83,7 @@ backend example_com_https_01
frontend to_application
bind *:4430
timeout client
30
m
timeout client
5
m
timeout server 5m
timeout connect 5m
mode http
...
...
roles/create_deploys/templates/config/option-4/haproxy/http-backend-bare-entry.txt.jinja2
View file @
e8c4feca
...
...
@@ -9,7 +9,7 @@
backend bare_http_{{haproxy_acl}}
mode http
timeout server
30
m
timeout server
5
m
timeout connect 5m
balance leastconn
{% set weight_ = http_port_list | count %}
...
...
roles/create_deploys/templates/config/option-4/haproxy/http-wellknown-backend-bare-entry.txt.jinja2
View file @
e8c4feca
...
...
@@ -9,7 +9,7 @@
backend bare_http_wellknown_{{haproxy_acl}}
mode http
timeout server
30
m
timeout server
5
m
timeout connect 5m
balance leastconn
server HTTP_wellknown_{{haproxy_acl}}{{ http_port_list[0] }} 127.0.0.1:{{http_port_list[0]}}
roles/create_deploys/templates/config/option-4/haproxy/https-backend-bare-entry.txt.jinja2
View file @
e8c4feca
...
...
@@ -8,7 +8,7 @@
{% endif %}
backend {{haproxy_acl}}_https_01
timeout server
30
m
timeout server
5
m
timeout connect 5m
balance leastconn
{% set weight_ = https_port_list | count %}
...
...
roles/install_haproxy/files/haproxy/data/haproxy_skeleton.cfg
View file @
e8c4feca
...
...
@@ -15,7 +15,7 @@ listen stats
frontend http_to_https_redirects
bind *:80
timeout client
20s
timeout client
5m
mode http
# ShimmerCat can do HTTP to HTTPS redirects, and so can Haproxy
...
...
@@ -23,7 +23,7 @@ frontend http_to_https_redirects
frontend https
bind *:443
timeout client
30
m
timeout client
5
m
mode tcp
## Sticky tables to deter script kiddies, comment for load-testing
...
...
@@ -52,7 +52,7 @@ frontend https
frontend to_application
bind *:4430
timeout client
30
m
timeout client
5
m
timeout server 5m
timeout connect 5m
mode http
...
...
roles/install_haproxy/templates/haproxy.cfg.jinja2
View file @
e8c4feca
...
...
@@ -15,7 +15,7 @@ listen stats
frontend http_to_https_redirects
bind *:80
timeout client
20s
timeout client
5m
mode http
# ShimmerCat can do HTTP to HTTPS redirects, and so can Haproxy
...
...
@@ -23,7 +23,7 @@ frontend http_to_https_redirects
frontend https
bind *:443
timeout client
30
m
timeout client
5
m
mode tcp
## Sticky tables to deter script kiddies, comment for load-testing
...
...
@@ -52,7 +52,7 @@ frontend https
frontend to_application
bind *:4430
timeout client
30
m
timeout client
5
m
timeout server 5m
timeout connect 5m
mode http
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment