Configuration files

Hello everyone,

I have a Debian VM with all in one installation of bunkerweb.

I don’t find configuration’s files for services, who I configure in web UI.

Likewise, I know “/etc/nginx/” exist but if I reload bunkerweb’s services it ecrase all modifications

Cheers

Hello! What exactly are you looking for? Indeed, BunkerWeb stores its configuration in the DB. SQLite is used by default on Linux. However, you can use MariaDB or PostgreSQL.

It’s normal for Bunkerweb to override the configuration in /etc/nginx.

I tried to find where is located service config files. The goal is to deploy new services without using Web UI, and just adding configuration files for newest web services.

In MULTISITE mode, BunkerWeb generates one directory per service under:

/etc/nginx/<service>

All configuration you create from the Web UI is written there.
If you manually edit anything inside these folders, it will indeed be overwritten on every reload, because BunkerWeb regenerates the NGINX configuration from its database.

To apply persistent custom changes, use the Web UI → Configs menu (or the corresponding settings), as explained in the documentation: