Skip to content

feature: Add the ability to reread the users.json into Caddy-Security memory without restarting Caddy Server.Β #431

@oandgtc

Description

@oandgtc

A clear and concise description of what you want the system to do.

A simple endpoint with GET method to trigger a re-read of the users.json into the memory of Caddy-Server application runtime. Thing to consider, I would include the option to restrict which IP or range of IPs can call the endpoint and possible

../reload_local

What are the Caddyfile directives that need to be added.

Add Caddyfile directive:

{
  security {
    restrict_reload_local IP:[LIST]
  }
}

Metadata

Metadata

Assignees

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions