Its about haproxy
i installed e haproxy in my pfsense my problem was when i acced to http://ip-pfsense/haproxy?stats i have 404 not found
the test for the configuration file
haproxy -c -V -f /var/etc/haproxy.cfg
Configuration file is valid
sh /usr/local/etc/rc.d/haproxy.sh start
but when i see the status ihave
sh /usr/local/etc/rc.d/haproxy.sh status
haproxy is not running.
this my configuration
stats uri /haproxy?stats
stats realm Haproxy\ Statistics
stats auth admin:mypassword
stats refresh 10
server web1 188.8.131.52:80 check inter 1000 weight 1
thanks in adance
i would advice to use haproxy-devel package, it has all and more options, and works rather good imho, also make sure to disable webgui port 80 "WebGUI redirect" in advanced pfsense options as it might be lighttpd that replies instead of haproxy.?. Then check in diagnostics/sockets that haproxy is running and the only one listening on :80
how to disable wbgui port?
have you please a tutorial for haproxy?
To disable webgui redirect go to: System: Advanced: Admin Access , then check the 'Disable webConfigurator redirect rule' checkbox.
I don't have a tutorial.. But if you click around a bit it shouldnt be that hard to figure most things out..
Frontent listens on a ip:port for incomming connections, then uses a backend that contains the webservers to loadbalance between.
Using multiple shared frontends you can use acl's to add to the existing ip:port and send traffic to a different backend, for example when www.domain.com needs to be handled by a different backend&servers than mail.domain.com , while still listening on 1 port.