Disable auto-save configuration

How to disable the auto-saving of Caddy configuration?

Hey Paul – just set the persist property to false here: JSON Config Structure - Caddy Documentation

1 Like

FYI, my preamble is as follow. Disable admin server and config persistence and enable DEBUG level logging.

{
  "admin": {
    "disabled": true,
    "config": {
      "persist": false
    }
  },
  "logging": {
    "logs": {
      "default": {
        "level": "DEBUG"
      }
    }
  },

This topic was automatically closed after 30 days. New replies are no longer allowed.