I disabled the virtual host *:80 and I had a 400 bad request when trying to connect to my website.
I set it back and it worked again. But I dont want or need a virtual host all I need is accept connection to my server on ports 80 and 443 and both serve the same content.
Is it required to create a virtual host? Or is it because there is another virtualHost for the *:443 https that the server responded with a 400 bad request ?
It's empty like that
<VirtualHost *:80></VirtualHost>wildcard NameVirtualHosts and _default_ servers:_default_:443 some-ip.us-west-2.compute.internal (/etc/httpd/conf.d/ssl.conf:74)*:80 some-ip.us-west-2.compute.internal (/etc/httpd/conf/httpd.conf:1005)