...
The configuration file is stored on the VM under /opt/ha-proxy-certbot/config/haproxy.cfg and you need to be
- Become root to modify it.
...
- Open the file, modify and save it.
- Check the container ID
Code Block docker ps
- Restart container for the changes to take effect
Code Block docker restart <CONTAINER_id>
There are four essential sections to an HAProxy configuration file. They are global
, defaults
, frontend
, and backend
. These four sections define how the server as a whole performs, what your default settings are, and how client requests are received and routed to your backend servers.
...