Product

Product Features How to Compare Docs Screenshots Why

Start here

Getting started Download Guides Frequently asked questions

More

Security Support Roadmap About

Files and folders

Where everything lives on disk, and which paths are rewritten on every apply.

Where everything lives

PathWhat it isSafe to edit
/data/docker/failoverlbThe software, and the .env settings fileThe .env file, yes
/opt/nginx-fleet-managerThe host agentNo
/opt/nginx-installer.shA copy of the nginx installer, so rebuilds work from the GUIOnly to add modules
/etc/nginxnginx configurationThe parts this software does not generate
/etc/nginx/nginxmgrEverything this software generatesNo
/etc/nginx/nginxmgr/certsCertificates and keysNo
/var/backups/nginx-fleet-managerThe configuration before each applyRead only, but read it when you need it
/var/log/nginxnginx's own logsRotate them, do not edit them
/var/www/certbotWhere challenge tokens are writtenNo
/run/nginxmgr/agent.sockHow the GUI talks to the agentNo
Docker volume nfm-dataThe configuration databaseBack it up, do not edit it

Do not edit anything under /etc/nginx/nginxmgr

It is written again from scratch on every apply, so your change will disappear without warning at the least convenient moment, and the disappearance will happen long enough after the edit that nobody connects the two.

If you need something the screen does not offer, use the raw configuration box on a site. What you put there is stored in the database and survives every apply. That is why it exists.

The one file worth guarding separately

.env holds the secret key that encrypts stored passwords, authenticator seeds and peer keys. Without it, a restored database cannot read its own encrypted values.

Every node needs its own. Copying one between machines means both share a secret key, and it means the second machine believes it is the first one. The installer refuses to join when it spots that.

What to back up

The backup feature covers the configuration database and the certificate files in one encrypted archive. Beyond that, take a copy of the .env files and, if your servers are virtual machines, a snapshot of the machine covers everything above at once.