# 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:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![crix07](https://avatars.discourse-cdn.com/v4/letter/c/ce7236/32.png) [@crix07](https://discourse.haproxy.org/u/crix07)\
**Post date:** [August 3, 2021, 1:53am UTC](https://discourse.haproxy.org/t/haproxy-config-does-not-work/6779/1 "2021-08-03T01:53:18Z")

</div>

Hi i have trying to do this configuration work but it doesn’t, i don’t why, i am noob with haproxy i just followed a youtube tutorial: [HAProxy Crash Course (TLS 1.3, HTTPS, HTTP/2 and more) - YouTube](https://www.youtube.com/watch?v=qYnA2DFEELw&t=2907s)

this is the haproxy config:

 ![haproxy](https://us1.discourse-cdn.com/flex016/uploads/haproxy/original/2X/4/4d93d748da1898c8bf1cd57b09c130875e633a1f.png)

and this what i get when i try to enter /auth path  
 ![ScreenShot_20210802214636](https://us1.discourse-cdn.com/flex016/uploads/haproxy/original/2X/0/0ab62ae30317d38116a4e0a9f9c17144a2c9750a.png)

---

<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)
