# Backend down show Maintace

**URL:** <https://discourse.haproxy.org/t/backend-down-show-maintace/3896>\
**Category:** Help!\
**Created:** [June 6, 2019, 6:42am UTC](https://discourse.haproxy.org/t/backend-down-show-maintace/3896 "2019-06-06T06:42:43Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![newtreme](https://avatars.discourse-cdn.com/v4/letter/n/eada6e/32.png) [@newtreme](https://discourse.haproxy.org/u/newtreme)\
**Post date:** [June 6, 2019, 6:42am UTC](https://discourse.haproxy.org/t/backend-down-show-maintace/3896/1 "2019-06-06T06:42:43Z")

</div>

I use HAProxy with pfSense. If a backend is down, I get a maintance site. But if only one URL of the backend is offline, the next client will simply be displayed in the backend. How can I create an offline site instead?

---

<div class="post-metadata">

**Author:** ![lukastribus](https://avatars.discourse-cdn.com/v4/letter/l/7ea924/32.png) [@lukastribus](https://discourse.haproxy.org/u/lukastribus)\
**Post date:** [June 6, 2019, 7:06am UTC](https://discourse.haproxy.org/t/backend-down-show-maintace/3896/2 "2019-06-06T07:06:46Z")

</div>

Share the configuration, the logs and the output of `haproxy -vv` please.

Also elaborate what _one URL of the backend is offline_ means exactly. Does it respond with a 5xx error? Does it timeout?

---

<div class="post-metadata">

**Author:** ![newtreme](https://avatars.discourse-cdn.com/v4/letter/n/eada6e/32.png) [@newtreme](https://discourse.haproxy.org/u/newtreme)\
**Post date:** [June 6, 2019, 7:13am UTC](https://discourse.haproxy.org/t/backend-down-show-maintace/3896/3 "2019-06-06T07:13:41Z")

</div>

# Automaticaly generated, dont edit manually.

# Generated on: 2019-06-06 08:53

global  
maxconn 1000  
stats socket /tmp/haproxy.socket level admin  
uid 80  
gid 80  
nbproc 1  
hard-stop-after 15m  
chroot /tmp/haproxy\_chroot  
daemon  
tune.ssl.default-dh-param 2048  
log-send-hostname ovs01  
server-state-file /tmp/haproxy\_server\_state

listen HAProxyLocalStats  
bind 127.0.0.1:2200 name localstats  
mode http  
stats enable  
stats admin if TRUE  
stats show-legends  
stats uri /haproxy/haproxy\_stats.php?haproxystats=1  
timeout client 5000  
timeout connect 5000  
timeout server 5000

frontend acme-reverseProxy-merged  
bind XXX.XXX.XXX.XXX:80 name XXX.XXX.XXX.XXX:80  
mode http  
log global  
option http-keep-alive  
timeout client 30000  
errorfile 503 /var/etc/haproxy/errorfile\_acme-reverseProxy\_503\_MAINTENANCE  
acl [test.test.de](http://test.test.de) var(txn.txnhost) -m beg -i test  
http-request set-var(txn.txnpath) path  
http-request set-var(txn.txnhost) hdr(host)  
use\_backend test.test.de\_ipvANY if [test.test.de](http://test.test.de)

backend test.test.de\_ipvANY  
mode http  
id 110  
log global  
timeout connect 30000  
timeout server 30000  
retries 3  
acl client1 var(txn.txnhost) -m str -i [test1.test.de](http://test1.test.de)  
acl client2 var(txn.txnhost) -m str -i [test2.test.de](http://test2.test.de)  
acl client3 var(txn.txnhost) -m str -i [test3.test.de](http://test3.test.de)  
acl client4 var(txn.txnhost) -m str -i [test4.test.de](http://test4.test.de)  
acl client7 var(txn.txnhost) -m str -i [test7.test.de](http://test7.test.de)  
acl client8 var(txn.txnhost) -m str -i [test8.test.de](http://test8.test.de)  
acl client9 var(txn.txnhost) -m str -i [test9.test.de](http://test9.test.de)  
http-request set-var(txn.txnhost) hdr(host)  
use-server client1 if client1  
use-server client2 if client2  
use-server client3 if client3  
use-server client4 if client4  
use-server client7 if client7  
use-server client8 if client8  
use-server client9 if client9  
server client1 10.132.1.1:80 id 103 check inter 1000  
server client2 10.132.1.2:80 id 104 check inter 1000  
server client3 10.132.1.3:80 id 107 check inter 1000  
server client4 10.132.1.4:80 id 108 check inter 1000  
server client7 10.132.1.7:80 id 112 check inter 1000  
server client8 10.132.1.8:80 id 113 check inter 1000  
server client9 10.132.1.254:80 id 114 check inter 1000

---

<div class="post-metadata">

**Author:** ![newtreme](https://avatars.discourse-cdn.com/v4/letter/n/eada6e/32.png) [@newtreme](https://discourse.haproxy.org/u/newtreme)\
**Post date:** [June 6, 2019, 7:15am UTC](https://discourse.haproxy.org/t/backend-down-show-maintace/3896/4 "2019-06-06T07:15:39Z")

</div>

I Have one backend there more Clients. Than i have one frontend with more URLs.

Frontend [test.test.de](http://test.test.de)  
have [test1.test.de](http://test1.test.de), [test2.test.de](http://test2.test.de) etc.

---

<div class="post-metadata">

**Author:** ![lukastribus](https://avatars.discourse-cdn.com/v4/letter/l/7ea924/32.png) [@lukastribus](https://discourse.haproxy.org/u/lukastribus)\
**Post date:** [June 6, 2019, 8:04am UTC](https://discourse.haproxy.org/t/backend-down-show-maintace/3896/5 "2019-06-06T08:04:15Z")

</div>

Please respond to the entire post.

---

<div class="post-metadata">

**Author:** ![newtreme](https://avatars.discourse-cdn.com/v4/letter/n/eada6e/32.png) [@newtreme](https://discourse.haproxy.org/u/newtreme)\
**Post date:** [June 24, 2019, 12:29pm UTC](https://discourse.haproxy.org/t/backend-down-show-maintace/3896/6 "2019-06-24T12:29:34Z")

</div>

What is the Problem?  
Please help me

---

<div class="post-metadata">

**Author:** ![lukastribus](https://avatars.discourse-cdn.com/v4/letter/l/7ea924/32.png) [@lukastribus](https://discourse.haproxy.org/u/lukastribus)\
**Post date:** [June 24, 2019, 8:52pm UTC](https://discourse.haproxy.org/t/backend-down-show-maintace/3896/7 "2019-06-24T20:52:09Z")

</div>

I asked 6 things in post number two. You did a single one. Do the rest, and I will be in a better situation to help you.
