Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

The configuration file is stored on the VM under /opt/ha-proxy-certbot/config/haproxy.cfg and you need to be

  1. Become root to modify it.

...

  1. Open the file, modify and save it. 
  2. Check the container ID
    Code Block
    docker ps
  3. 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 globaldefaultsfrontend, 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.

...