![install haproxy on alpine install haproxy on alpine](https://linuxhandbook.com/content/images/2020/07/haproxy123.png)
Sudo apt-get install sigsci-module-haproxyĪlternatively, the HAProxy module can also be manually installed.ĭownload the latest version of the HAProxy module: wget Īfter downloading the module.
![install haproxy on alpine install haproxy on alpine](https://developer.okta.com/assets-jekyll/blog/oauth-sessions-with-java/social-c93a21db4c9c38a979bc210005d447e16bf8a90a503d79a0ad2e7806eeae4583.png)
The HAProxy module can be easily installed via the package manager of most major OS versions: OS Module installation Installation with Package Manager
![install haproxy on alpine install haproxy on alpine](https://www.devopsschool.com/slides/docker/docker-getting-started/images/container-lifecycle-for-docker.jpg)
Then, add the following line to your agent configuration file (by default at /etc/sigsci/nf) to specify the new socket file location under chroot: rpc-address="unix:/haproxy-chroot-directory/var/run/sigsci.sock" The default location of the agent socket file ( /var/run/sigsci.sock) will be inaccessible to the HAProxy module outside of your specified chroot directory.Īfter installing the Signal Sciences agent, you will need to create the directory structure for the Unix domain socket under chroot: sudo mkdir -p /haproxy-chroot-directory/var/run/ If your HAProxy configuration has been modified to set a chroot directory for HAProxy, you will need to update your Signal Sciences agent configuration to reflect this. If you have set HAProxy’s chroot directory, you will need to modify the commands below to reflect your custom chroot directory by following the instructions in this section. Note: This section may not be required for your installation. Note: The HAProxy module can be used with any OS because it is Lua code.