logo

Settings

Roxy-WI config


Open the file $HOME_HAPROXY-WI/app/roxy-wi.cfg and edit it. The default configuration is shown below:

Go to TOP

HAProxy config

If you have installed HAProxy service without Roxy-WI, you need to enable the state file and the state socket on HAProxy 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 file 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 already installed Nginx without HAPRoxy-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 with login/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 login/password for HAProxy status page, read the instrustion here

Go to TOP

DB settings

By default Roxy-WI uses Sqlite, if you want to use MySQL enable it in the config file(roxy-wi.cfg):

Create a database on you MySQL server:

And run the create_db.py file

Go to TOP

Apache settings


If you want to use your own domain name you should edit roxy-wi.conf for Apache:


Find the following string and replace "roxy-wi.example.com" with your domain name:


And if you want to enable redirect from port 80 to port 443, add the following lines to your config:


In order to change the certificates you should edit:

Go to TOP

Was this article helpful?

Yes, thanks!
Not really
Go back