Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add port 443 to listen_ports in apache2 (SOC-9172)
This commit stops port clashes between horizon and haproxy on HA deployments with SSL enabled. Without this patch, the apache ssl recipe adds port 443 to the apache listen.conf file without adding the port to the listen_ports array. In a HA setup with ssl enabled, both HAProxy and Apache will try to use port 443. To work around this, the horizon ssl recipe currently checks to see what ports are listed in a listen_ports array, and if either port 443 or port 80 is in there, it wipes the listen.conf file. As port 443 is not currently in the listen_ports array, the horizon recipe leaves the listen.conf file alone in cases where port 443 is in there. This commit adds port 443 to the listen_ports array at the point where it is added as a listen port, so that the horizon recipe can find it later. More explanation in: https://bugzilla.suse.com/show_bug.cgi?id=1141490#c34
- Loading branch information