logo

How to enable status pages

HAProxy config

If you have one or several servers with HAProxy installed and want them to be managed by Roxy-WI, you need to enable the state file and the state socket on allHAProxy servers so that you could use the RunTime API, the Metrics and the Auto Start. You will also have to insall socat on all your HAProxy servers and make the necessary changes to the configuration. Add the following lines to HAProxy configuration files on all servers and restart the services:

For Antibot protection add the following backends:

If you would like to use a custom port for Roxy-WI and set login/password for HAProxy status page, read the instrustion here

Go to TOP

Nginx config

If you have one or several servers with Nginx installed and want it to be managed by Roxy-WI, add the following lines to the configuration of all your Nginx servers so that you could view stats and enable Auto Start:

Create the file containing the login and the password with htpasswd and save it in /etc/nginx/status_page_passwdfile

If you would like to use a custom port for Roxy-WI and set the login and the password for HAProxy status page, read the instrustion here

Go to TOP

How to add an Apache server

If you have one or several servers with Apache installed and want it to be managed by Roxy-WI, add the following lines to the configuration of all your Apache servers so that you could view stats and enable Auto Start:

Create the file containing the login and the password with htpasswd and save it in /etc/httpd/server-status_htpasswd

If you would like to use a custom port for Roxy-WI and set the login and the password for Apache status page, read the instruction here

Was this article helpful?

Yes, thanks!
Not really
Go back