Installation Run as service SSL support

Installation

Download ruxy binary

Download Ruxy and move it to /usr/local/ruxy/ (or your chosen destination).

wget https://ruxyserver.com/d/ruxy-linux-amd64 -O ruxy

Move to non-public folder

Do not move Ruxy to webroot or docroot of your webserver.

mkdir /usr/local/ruxy && mv ruxy /usr/local/ruxy/

cd /usr/local/ruxy/
chmod 750 ruxy

Run it

./ruxy

After launching Ruxy it would display Ruxy logo and a default configuration.

Edit config file ruxy.yml

Configuration file is written in YAML therefore it is important to follow correct YAML syntax.

Copy these few lines of basic configuration to /usr/local/ruxy/ruxy.yml:

Routes:
    80->localhost:8080:  mydomain.rx, www.mydomain.rx
    443->127.0.0.1:8080: mydomain.rx, www.mydomain.rx

This means port Ruxy will listen on ports 80, 443 and will serve contents from webserver of port 8080, 8443 for security purposes listening on localhost address or a dedicated IP address protected by firewall.

Read more about SSL/TLS Support.

Change your webserver listening ports

You must change listening ports of webserver to allow Ruxy to be in front of your web application.
For example, in apache2 configuration you must change /etc/apache2/ports.conf and /etc/apache2/sites-enabled/.. files.