Nginx for Cockpit
SEYSOFT
Manage the nginx web server from your browser inside Cockpit: static sites, reverse proxies, config editing and logs, with rollback.
by SEYSOFT · Version 1.0.1
Manage the Apache web server from your browser inside Cockpit: sites, reverse proxies, HTTPS, config editing with rollback, logs and SELinux.
A module for Cockpit that manages the Apache web server (httpd) from the browser, so you don't have to edit config files over SSH. It is built to look like a factory Cockpit page (PatternFly 6) and follows Cockpit's light and dark setting.
It is self-contained: nothing else needs to be installed, it makes no network connections of its own, and it needs no account, repository or other module. It is static files only (HTML, CSS and JavaScript), with no compiled code and no scripts run at install time.
mod_ssl if missing, firewall switches for HTTP and HTTPS, SELinux mode and the common Apache SELinux booleans.httpd.conf, Virtualmin, other included files) are listed read-only./etc/httpd with an automatic backup, a syntax check before applying, and automatic rollback if the check fails./var/log/httpd files, with filtering and live follow.Every change is validated with httpd -t before Apache is reloaded, and rolled back automatically if it fails. Timestamped backups are taken before every config change.
Download the release file, cockpit-apache-1.0.1-manual.tar.gz, then choose one:
System-wide (all Cockpit users, needs root)
sudo tar -C /usr/share/cockpit -xzf cockpit-apache-1.0.1-manual.tar.gz
One user only (no root needed to install)
mkdir -p ~/.local/share/cockpit
tar -C ~/.local/share/cockpit -xzf cockpit-apache-1.0.1-manual.tar.gz
Then log out of Cockpit and back in. Cockpit reads its module list at login, and "Apache" appears in the left menu. If it doesn't, run this as the same user to see whether Cockpit found it:
cockpit-bridge --packages | grep -i apache
Updating: there is no automatic update. Unpack the newer archive over the old one and log in again.
Removing
sudo rm -rf /usr/share/cockpit/apache
sudo rm -rf /var/lib/cockpit-apache
For a single-user install, remove ~/.local/share/cockpit/apache instead. The second line is optional and deletes the saved config backups. Log out and back in afterwards. Site files the module created in /etc/httpd/conf.d/ (cockpit-<name>.conf) are ordinary Apache config and keep working until you delete them.
Files it uses on your server
| Path | Purpose |
|---|---|
/usr/share/cockpit/apache/ (or ~/.local/share/cockpit/apache/) |
The module itself |
/etc/httpd/conf.d/cockpit-<name>.conf |
Sites created in the Virtual hosts tab |
/var/lib/cockpit-apache/backups/ |
Timestamped backups before every config change (root only) |
SHA-256 c200c3d93c23f38cb3924edb38d00c23306119ce19eaa243fde49f2418fc0e01
Cockpit module for managing Apache (httpd): service control with config test, virtual hosts and reverse proxies, HTTPS, config editor with backup and rollback, logs, modules, firewall and SELinux settings.
To check a download, compare the SHA-256 above with sha256sum <file> on Linux and macOS, or Get-FileHash <file> in PowerShell. If they differ, download it again.
Software is provided as it is, and any open-source components keep their own licences. Need help with it? Contact support.
SEYSOFT
Manage the nginx web server from your browser inside Cockpit: static sites, reverse proxies, config editing and logs, with rollback.
SEYSOFT
Share folders with Windows, Mac and Linux computers from your browser inside Cockpit. Manage Samba shares and users without smb.conf.
SEYSOFT
Browser control panel for a HackRF One: live spectrum and waterfall, tune and listen, a channel scanner and an RF activity monitor, in Docker.