feat(docker): Gracefully reload Caddy configuration
All checks were successful
Caddy Manager CI build / docker (push) Successful in 11m33s
All checks were successful
Caddy Manager CI build / docker (push) Successful in 11m33s
This commit is contained in:
@@ -10,4 +10,11 @@ public interface IDockerService
|
||||
/// </summary>
|
||||
/// <returns></returns>
|
||||
Task RestartCaddyContainerAsync();
|
||||
|
||||
/// <summary>
|
||||
/// Method to gracefully reload the Caddy configuration without restarting the container. Caddy validates the
|
||||
/// configuration before applying it, so a broken configuration leaves the running one untouched.
|
||||
/// </summary>
|
||||
/// <returns>Whether the reload succeeded, along with Caddy's output when it did not</returns>
|
||||
Task<CaddyReloadResponse> ReloadCaddyContainerAsync();
|
||||
}
|
||||
Reference in New Issue
Block a user