Toby Allen
d98f2faef9
Add /stop endpoint to admin ( #2671 )
* Add stop command to admin. Exit after stop.
* Return error on incorrect http Method and provide better logging.
* reuse stopAndCleanup function for all graceful stops
6 years ago
Matthew Holt
9429c843c8
cmd: New reload command
6 years ago
Matthew Holt
3177ee8010
Add license
6 years ago
Matthew Holt
a4bdf249db
Caddy 2 gets a CLI! And admin endpoint is now configurable via JSON
6 years ago
Matthew Holt
5137859e47
Rename caddy2 -> caddy
Removes the version from the package name
6 years ago
dev
37da91cfe7
fix module import paths and add cors to admin endpoints
fix go module refs and add cors to admin endpoints
6 years ago
Matthew Holt
2fd98cb040
Module.New() does not need to return an error
6 years ago
Matthew Holt
2d056fbe66
Initial commit of Storage, TLS, and automatic HTTPS implementations
6 years ago
Matthew Holt
27ff6aeccb
Fix goroutine leak in Run
D'oh, the servers' Shutdown() would never be called because they were
never added to the list of servers.
Thanks Danny for finding this.
6 years ago
Matthew Holt
a8dc73b4d9
Performance testing Load function
6 years ago
Matthew Holt
86e2d1b0a4
Rudimentary start of HTTP servers
6 years ago
Matthew Holt
859b5d7ea3
Initial commit
6 years ago