Cockpit and Traefik

HTTP 500, HTTP 404…etc

Cockpit’s web server automatically redirects to port 443 with a self-defined SSL certificate.

For my use case, I wanted SSL to terminate at Traefik, so I set the backend to point to http and disabled Cockpit’s SSL redirect.

Note: To proxy to my host that’s running traefik and docker, I need to use the docker network’s local IP (, not the server’s LAN IP (

url = ""
Origins = wss://
ProtocolHeader = X-Forwarded-Proto

Leave a Reply

Your email address will not be published. Required fields are marked *