Closed kopax closed 6 years ago
Hi,
1st use :
START_FABIO="true"
START_CONSUL_TEMPLATE="false"
you need to disable HAproxy+consul-template since this they use the same ports
then you can verify that fabio is up:
apt-get update; apt-get install net-tools; netstat -tulpen | grep fabio
tcp6 0 0 :::80 :::* LISTEN 0 517397 17810/fabio
tcp6 0 0 :::81 :::* LISTEN 0 517235 17810/fabio
Fabio is missing the listen interface configuration. I have opened an issue here I hope it will be solved. https://github.com/fabiolb/fabio/issues/283
I am replacing HAproxy for Fabio :tada:
After enabling fabio with
START_FABIO=true
I confirm the HAproxy process isn't running.So far, I have the exact same service that can and can't be proxied.
HTTP
I have for example gitlab, behind a nginx ssl reverse proxy. I couldn't pass it to HAproxy because of 503 error. I had to use the direct upstream with a fixed port. I have tested with Fabio and I have the same result.
TCP
I have tested services like Ldap, OpenVPN, SMTP and the Fabio proxy seems to do the TCP proxying job. I did verify using telnet.
postgresql
with TCP proxy using Consul tagurlprefix-:5432 proto=tcp
, but the service was not reachable on that port. Any idea why?Common
:81
. I have nothing running on that port, is it expected?supervisord
a process forhaproxy_consul_template
, is it expected ?Thanks in advance.