How to disable cockpit redirect to HTTPS
Issue
-
The web interface
cockpit
requires HTTPS for connections to non-localhost; in the case of an HTTP, it automatically redirects to HTTPS.# curl -I http://192.168.122.189:9090/ HTTP/1.1 301 Moved Permanently Content-Type: text/html Location: https://192.168.122.189:9090/
-
How to disable cockpit redirect to HTTPS
Environment
- Red Hat Enterprise Linux 8 and 9
- cockpit
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.