Skip to main content

Operations

Deploy backups and restore

edox-ops project backups list <slug>
edox-ops project restore <slug> --yes
edox-ops project restore <slug> --backup /var/www/docs/.edox-ops-backups/<slug>/<timestamp> --yes

Restore overwrites the live served tree; --yes is required.

Host hardening (optional)

edox-ops host harden --yes
edox-ops host security-updates --yes
edox-ops host firewall --yes
edox-ops host fail2ban --yes
edox-ops host ssh-harden --yes
edox-ops host logrotate --yes

Match --ssh-port to sshd when not on port 22. Test SSH access before ssh-harden.

Validation

edox-ops doctor
edox-ops project validate <slug>

Checks include nginx config presence, TLS files when enabled, deploy tree ownership, and metadata consistency.

Nginx inspection

edox-ops project render-nginx <slug> --stdout
edox-ops nginx status

Disable without removing state: edox-ops project disable <slug>.

Hosting this documentation site on a VPS

GitLab Pages publishes CI builds by default. To serve the same static tree (website/build/) on your own nginx host, follow Hosting documentation on a VPS (bootstrap, host harden, deploy, TLS, restore).