tomdess / docker-haproxy-certbot

Dockerized HAProxy with Let's Encrypt certificates automatic renewal

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

haproxy doesn't reload after cert renewal

neseih opened this issue · comments

commented

Hi,

supervisorctl cannot connect to the url http://localhost:9001, so after renewal, the certs are not reloaded.

Can be fixed by adding the unix_http_server section to the custom supervisord.conf

[supervisorctl]
# serverurl=http://localhost:9001
serverurl=unix:///tmp/supervisor.sock ; 

[unix_http_server]
file=/tmp/supervisor.sock ; 

[supervisord]
# ...
commented

thank you @neseih

commented

Thank you @tomdess for your great work