How to make configuration persistent with traefik provider plugin?

Same the question. :laughing:

Now I use the file provider to observe the directory configuration, then my custom provider plugin writes the new configuration to that directory, but I don't think it's a good idea, can someone help me?