Error bad Request - redirect http to https

SYSTEM INFORMATION
OS type and version REQUIRED
Webmin version REQUIRED
Virtualmin version REQUIRED
Related packages SUGGESTED
OS: Ubuntu 22.04
Webmin 2.21
Virtualmin 7.7
Nginx - Web Server
Dear all my sites are inaccessible through port 80. All requests to http are
redirected to https but giving the error 400 bad request. I have investigated many forums and made many changes without success.
I need help to solve it please.

I don’t know Nginx. But I’d guess there is a log similar to /var/log/apache2/error.log for it?

Webmin > System > System Logs

Do you have SSL and certificates set up for the https redirects?

The logs do not give an error, the sites with https forward work fine. It’s when you redirect it that it gives an error.

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.