No results
Table of Contents
This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
Cockpit
Cockpit is a web-based server administration interface. This folder holds the configuration that controls how Cockpit’s web service behaves.
What the config does
cockpit.conf– Configures the Cockpit WebService:- Origins – Allowed origins for the web UI (HTTPS/WSS for your IP, hostname, and optional subdomain).
- ProtocolHeader – Header used to detect forwarded protocol (e.g. behind a reverse proxy):
X-Forwarded-Proto. - AllowUnencrypted – Allows unencrypted access for the given address (e.g.
ip-adress), useful for local or reverse-proxy setups.
How to use it
- Install Cockpit (e.g.
cockpitand optionallycockpit-machines,cockpit-podman, etc.). - Copy or symlink this config to the system config (e.g.
/etc/cockpit/cockpit.confor the path your distro uses). - Replace placeholders:
ip-adress→ your server IP or hostname.computername→ your machine’s hostname.subdomain.domain.tld→ your public URL if you use one.
- Start/enable the Cockpit socket or service, then open
https://<your-server>:9090in a browser.
File reference
| File | Purpose |
|---|---|
cockpit.conf |
WebService origins, protocol header, allow unencrypted |