Can the loaded file be saved?

Currently, I am using

curl -X POST localhost:2019/load -H “Content-Type:application/json” -d @caddy.json
is ok.

i want to know ,this file can be saved?
If there is no save, but my server restarts, the relevant configuration will be lost

If you installed Caddy using the operating system’s package manager, Caddy ships with 2 systemd units. Refer to this page:

In the future, please fill out the form instead of deleting it. It helps us answer directly based on your setup instead of having to make assumptions.

1 Like

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