updated haproxy state
This commit is contained in:
parent
5f5f3945cd
commit
aeb29078c1
@ -35,7 +35,7 @@ haproxy:
|
|||||||
#log: 127.0.0.1 local0
|
#log: 127.0.0.1 local0
|
||||||
log: stdout format raw daemon info
|
log: stdout format raw daemon info
|
||||||
retries: 2
|
retries: 2
|
||||||
timeout check: 2s
|
timeout check: 4s
|
||||||
timeout client: 60m
|
timeout client: 60m
|
||||||
timeout connect: 2s
|
timeout connect: 2s
|
||||||
timeout server: 60m
|
timeout server: 60m
|
||||||
|
@ -173,7 +173,7 @@ frontend https from {{ haproxy.config.namespace }}
|
|||||||
http-request redirect location %[req.hdr(Host),map_dom({{ haproxy.config.dir }}/maps/redirects)] code 301 if { req.hdr(Host),map_dom({{ haproxy.config.dir }}/maps/redirects) -m found }
|
http-request redirect location %[req.hdr(Host),map_dom({{ haproxy.config.dir }}/maps/redirects)] code 301 if { req.hdr(Host),map_dom({{ haproxy.config.dir }}/maps/redirects) -m found }
|
||||||
http-request deny deny_status 404 unless domains
|
http-request deny deny_status 404 unless domains
|
||||||
{%- if haproxy.config.admin %}
|
{%- if haproxy.config.admin %}
|
||||||
use_backend admin if self_host internal path_root || path_admin
|
use_backend admin if self_host internal path_admin
|
||||||
{%- endif %}
|
{%- endif %}
|
||||||
use_backend %[req.hdr(Host),lower,map({{ haproxy.config.dir }}/maps/vhosts,nginx)]
|
use_backend %[req.hdr(Host),lower,map({{ haproxy.config.dir }}/maps/vhosts,nginx)]
|
||||||
monitor-uri /dead_or_alive
|
monitor-uri /dead_or_alive
|
||||||
|
Loading…
Reference in New Issue
Block a user