I will show you how to change the default Vesta port from port 8083 to port 2087. You could change your port number to any other number. I will use 2087 port because Cloudflare supports that port in their free subscription. So I can protect my server from DDOS Attack using Cloudflare Free Subscription.
In brief the steps to change your port are:
2.Edit Nginx to Listen to the new port
In brief the steps to change your port are:
- Add the new port(2087) on VestaCP firewall
- Edit Nginx to Listen to the new port
- Restart vesta
- Delete the old port, 8083 .
2.Edit Nginx to Listen to the new port
# vi /usr/local/vesta/nginx/conf/nginx.conf
Comments
Post a Comment