outroll / vesta

VESTA Control Panel
http://vestacp.com
GNU General Public License v3.0
2.98k stars 1.03k forks source link

http request is redirected to https and disabling ssl causes Internal Vesta Error #1877

Open AndreFabris opened 5 years ago

AndreFabris commented 5 years ago

Operating System (OS/VERSION):

Ubuntu 16

VestaCP Version:

VestaCP 0.9.8

Installed Software (what you got with the installer):

php-fpm, apache, nginx, mysql

Steps to Reproduce:

I do not have a domain, I access the site via IP address of the server. Calling http://138.68.164.160:8083 automatically redirects to https://138.68.164.160:8083 Any modern browser then blocks the site as certificates are self-signed.

I would like to disable SSL, so I go to /usr/local/vesta/nginx/conf/nginx.conf and put SSL = off, or remove the SSL files. I restart vesta

Going to the http://138.68.164.160:8083 now displays screen Internal Vesta Error

noogen commented 5 years ago

I don't know if anybody going to do anything about this. The generally accepted standard is that, even if it's not a trusted cert, you should use SSL. Therefore, user need to know what they're doing (Vesta wise) to visit 8083; otherwise, regular user should ignore.

As you should know what you're doing, if you insist on making the change, you should be disabling the redirect and not the SSL configuration.