cockpit.conf

cockpit.conf — Cockpit configuration file

DESCRIPTION

Cockpit can be configured via /etc/cockpit/cockpit.conf. That file has a INI file syntax and thus contains key / value pairs, grouped into topical groups. For example, to set the "group" key in the "login" group to the value "adm", place this into /etc/cockpit/cockpit.conf:

      [login]
      group = adm
    

Note: The port that cockpit listens on cannot be changed in this file. To change the port change the systemd cockpit.socket file.

WebService

Origins

By default cockpit will not accept crossdomain websocket connections. Use this setting to allow access from alternate domains. Origins should include scheme, host and port, if necessary.

[Webservice]
Origins = https://somedomain1.com https://somedomain2.com:9090
            

BUGS

Please send bug reports to either the distribution bug tracker or the upstream bug tracker.

SEE ALSO

cockpit-ws(8)