# Haproxy config does not work

**URL:** <https://discourse.haproxy.org/t/haproxy-config-does-not-work/6779>\
**Category:** Help!\
**Created:** [August 3, 2021, 1:53am UTC](https://discourse.haproxy.org/t/haproxy-config-does-not-work/6779 "2021-08-03T01:53:18Z")\
**Posts on this page:** 1\
**Showing post:** 2

<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:** [August 3, 2021, 8:52am UTC](https://discourse.haproxy.org/t/haproxy-config-does-not-work/6779/2 "2021-08-03T08:52:51Z")

</div>

Check whether the destination server is actually reachable and enable logging during the failing request:

> [@How to enable HAProxy Stats Log](https://discourse.haproxy.org/t/how-to-enable-haproxy-stats-log/1738/2):
>
> You can find the details of the logging system in the documentation, section 8 [1]. As an example, here is a basic logging configuration: global log 127.0.0.1 syslog debug defaults log global mode http option httplog [1] [https://cbonte.github.io/haproxy-dconv/1.7/configuration.html#8](https://cbonte.github.io/haproxy-dconv/1.7/configuration.html#8)

---

_[View the full topic](https://discourse.haproxy.org/t/haproxy-config-does-not-work/6779)._
