The stats page isn't present when haproxy isn't set up for https.
Though the container can be run to expose 80 or 443, the stats page will only be present when accessing via port 80 - assuming it is configured. If somebody is running exclusively on port 443 the stats page becomes unavailable - so the port would need to be reassigned independent of trying to access the stats page.
This PR simply copies the configuration of http for the /stats page for https.
The stats page isn't present when haproxy isn't set up for https.
Though the container can be run to expose
80
or443
, the stats page will only be present when accessing via port80
- assuming it is configured. If somebody is running exclusively on port443
the stats page becomes unavailable - so the port would need to be reassigned independent of trying to access the stats page.This PR simply copies the configuration of http for the
/stats
page for https.