madeITBelgium / vesta

VESTA Control Panel
https://www.tpweb.org
GNU General Public License v3.0
34 stars 15 forks source link

Change Vesta port #95

Closed Sn1F3rt closed 3 years ago

Sn1F3rt commented 3 years ago

Hi,

How do I go about changing the Vesta port? The nginx.conf file at /etc/nginx doesn't seem to have such a specification neither does any of the folders in conf.d.

Changing it in VESTA_ROOT/nginx is of no use either by starting nginx or vesta-nginx, none seem to be reading configuration from the file.

So is the port 8083 hard-coded somewhere?

I'm on CentOS 7.

madeITBelgium commented 3 years ago

The configuration file is located in /usr/local/vesta/nginx/nginx.conf after changing the config file you can restart the nginx service by service vesta restart. Maybe you also need to update the firewall.

Sn1F3rt commented 3 years ago

Yeah you were correct. I had done that just that I forgot to open the port, Thanks.