mirror of
https://github.com/caddyserver/caddy.git
synced 2025-03-23 21:54:51 +01:00
* set automatic https error type for cert-magic failures * add state to onload and unload methods * update reverse proxy to use Provision() and Cleanup()
16 lines
475 B
Go
16 lines
475 B
Go
package main
|
|
|
|
import (
|
|
caddycmd "bitbucket.org/lightcodelabs/caddy2/cmd"
|
|
|
|
// this is where modules get plugged in
|
|
_ "bitbucket.org/lightcodelabs/caddy2/modules/caddyhttp"
|
|
_ "bitbucket.org/lightcodelabs/caddy2/modules/caddyhttp/caddylog"
|
|
_ "bitbucket.org/lightcodelabs/caddy2/modules/caddyhttp/reverseproxy"
|
|
_ "bitbucket.org/lightcodelabs/caddy2/modules/caddyhttp/staticfiles"
|
|
_ "bitbucket.org/lightcodelabs/caddy2/modules/caddytls"
|
|
)
|
|
|
|
func main() {
|
|
caddycmd.Main()
|
|
}
|