Comment 3 for bug 1409583

Revision history for this message
Zhenzan Zhou (zhenzan-zhou) wrote :

By default, apache2 is enabled and listening on 0.0.0.0:80. Horizon itself doesn't care because it will apply its own configs and then enable apache2 and restart apache2 in post-configure stage. But with haproxy, we want apache2 to listen on specified interface and haproxy itself will listen on other interfaces for port 80. So we should stop apache2 in horizon pre-configure stage and let horizon to restart it again in its post-configure stage.