global log 127.0.0.1 local2 chroot /var/lib/haproxy stats timeout 2m pidfile /var/run/haproxy.pid maxconn 4000 user haproxy group haproxy daemon nuster cache on data-size 1g # turn on stats unix socket stats socket /var/lib/haproxy/haproxy.sock mode 660 level admin stats timeout 2m nuster cache on uri /nuster/stats
curl http://127.0.0.1/nuster/stats <html><body><h1>503 Service Unavailable</h1> No server is available to handle this request. </body></html>
I forgot something ?
How to configure port for stats view, because frontend listen on port 80 :/
Ok I found it
nuster cache on data-size 1g uri /nuster/stats
Hi, you can use the port defined in frontend
Are you sure you want to hide this comment? It will become hidden in your post, but will still be visible via the comment's permalink.
Hide child comments as well
Confirm
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
I forgot something ?
How to configure port for stats view, because frontend listen on port 80 :/
Ok I found it
nuster cache on data-size 1g uri /nuster/stats
Hi, you can use the port defined in frontend