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:
17
CaddyManager.Contracts/Docker/CaddyReloadResponse.cs
Normal file
17
CaddyManager.Contracts/Docker/CaddyReloadResponse.cs
Normal file
@@ -0,0 +1,17 @@
|
||||
namespace CaddyManager.Contracts.Docker;
|
||||
|
||||
/// <summary>
|
||||
/// Result of a graceful Caddy configuration reload
|
||||
/// </summary>
|
||||
public class CaddyReloadResponse
|
||||
{
|
||||
/// <summary>
|
||||
/// Indicates whether Caddy accepted and applied the configuration
|
||||
/// </summary>
|
||||
public bool Success { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Output from Caddy when the reload failed, typically the configuration validation error
|
||||
/// </summary>
|
||||
public string Message { get; set; } = string.Empty;
|
||||
}
|
||||
Reference in New Issue
Block a user