These instructions describe how to set up and upgrade PrivX running on custom ports. The port number used in this example is 9443.

Setting Up

1. Add port to SELinux

$ semanage port -a -t http_port_t -p tcp 9443

2. Add port to firewall and restart

$ firewall-cmd --zone=public --permanent --add-port=9443/tcp

$ service firewalld restart

3. Change port 443 to 9443 in Nginx and restart

$ vi /etc/nginx/conf.d/privx.conf

$ service nginx restart

4. Add :9443 to addresses in PrivX and restart

$ vi /opt/privx/etc/shared-config.toml

$ service privx restart

5. Connect to PrivX with browser

https://own.privx.com:9443/privx/

Upgrading

1. After upgrading PrivX overwrite Nginx privx.conf with old file

$ cp /etc/nginx/conf.d/privx.conf-old /etc/nginx/conf.d/privx.conf

2. Restart Nginx

$ service nginx restart