Nginx Reverse Proxy (Advanced)
Use the shipped template from this repository.
sudo cp /path/to/cpanel/panel/conf/nginx.conf /etc/nginx/sites-available/cpanel.conf
sudo ln -s /etc/nginx/sites-available/cpanel.conf /etc/nginx/sites-enabled/cpanel.conf
sudo nginx -t
sudo systemctl reload nginx
Then edit `server_name` and TLS lines in that file for your domain.
Template includes WebSocket handling for `/ws/*` routes used by panel and connector UI streams.
