Caddy.Server (Caddy v2.0.7)
View SourceCaddy Server
Start Caddy Server in Port
and GenServer
to handle the server process.
Server outputs are save to Caddy.Logger process.
Won'nt start if Caddy binary not found or not executable.
Could be started by Caddy.restart_server()
when Caddy binary is set.
Summary
Functions
Returns a specification to start this module under a supervisor.
Get Caddyfile content of the current running server
Functions
Returns a specification to start this module under a supervisor.
See Supervisor
.
@spec get_caddyfile() :: binary()
Get Caddyfile content of the current running server