-
Notifications
You must be signed in to change notification settings - Fork 1
/
main.go
84 lines (74 loc) · 3.14 KB
/
main.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
package main
import (
"time"
"github.com/caddyserver/caddy/caddy/caddymain"
//Plugins
//Caddyfile Loaders
_ "github.com/lucaslorentz/caddy-docker-proxy/plugin" //docker
//DNS Providers
_ "github.com/caddyserver/dnsproviders/acmedns"
_ "github.com/caddyserver/dnsproviders/alidns"
_ "github.com/caddyserver/dnsproviders/auroradns"
_ "github.com/caddyserver/dnsproviders/azure"
_ "github.com/caddyserver/dnsproviders/cloudflare"
_ "github.com/caddyserver/dnsproviders/cloudxns"
_ "github.com/caddyserver/dnsproviders/conoha"
_ "github.com/caddyserver/dnsproviders/digitalocean"
_ "github.com/caddyserver/dnsproviders/dnsimple"
_ "github.com/caddyserver/dnsproviders/dnsmadeeasy"
_ "github.com/caddyserver/dnsproviders/dnspod"
_ "github.com/caddyserver/dnsproviders/duckdns"
_ "github.com/caddyserver/dnsproviders/dyn"
_ "github.com/caddyserver/dnsproviders/exoscale"
_ "github.com/caddyserver/dnsproviders/fastdns"
_ "github.com/caddyserver/dnsproviders/gandi"
_ "github.com/caddyserver/dnsproviders/gandiv5"
_ "github.com/caddyserver/dnsproviders/generic"
_ "github.com/caddyserver/dnsproviders/glesys"
_ "github.com/caddyserver/dnsproviders/godaddy"
_ "github.com/caddyserver/dnsproviders/googlecloud"
_ "github.com/caddyserver/dnsproviders/httpreq"
_ "github.com/caddyserver/dnsproviders/inwx"
_ "github.com/caddyserver/dnsproviders/lightsail"
_ "github.com/caddyserver/dnsproviders/linode"
_ "github.com/caddyserver/dnsproviders/linodev4"
_ "github.com/caddyserver/dnsproviders/namecheap"
_ "github.com/caddyserver/dnsproviders/namedotcom"
_ "github.com/caddyserver/dnsproviders/namesilo"
_ "github.com/caddyserver/dnsproviders/nifcloud"
_ "github.com/caddyserver/dnsproviders/ns1"
_ "github.com/caddyserver/dnsproviders/otc"
_ "github.com/caddyserver/dnsproviders/ovh"
_ "github.com/caddyserver/dnsproviders/pdns"
_ "github.com/caddyserver/dnsproviders/rackspace"
_ "github.com/caddyserver/dnsproviders/rfc2136"
_ "github.com/caddyserver/dnsproviders/route53"
_ "github.com/caddyserver/dnsproviders/selectel"
_ "github.com/caddyserver/dnsproviders/stackpath"
_ "github.com/caddyserver/dnsproviders/transip"
_ "github.com/caddyserver/dnsproviders/vscale"
_ "github.com/caddyserver/dnsproviders/vultr"
//Directives/Middleware
_ "github.com/Xumeiquer/nobots" //http.nobots
_ "github.com/aablinov/caddy-geoip" //http.geoip
_ "github.com/abiosoft/caddy-git" //http.git
_ "github.com/caddyserver/forwardproxy" //http.forwardproxy
_ "github.com/captncraig/caddy-realip" //http.realip
_ "github.com/mastercactapus/caddy-proxyprotocol" //http.proxyprotocol
_ "github.com/nicolasazrak/caddy-cache" //http.cache
_ "github.com/xuqingfeng/caddy-rate-limit" //http.ratelimit
_ "github.com/zikes/gopkg" //http.gopkg
//Event Hooks
_ "github.com/hacdias/caddy-service" //hook.service issus: panic: close of closed channel
//Server Types
_ "github.com/pieterlouw/caddy-net/caddynet" //net
)
func init() {
// For UTC local
time.Local = time.UTC
}
func main() {
// optional: disable telemetry
caddymain.EnableTelemetry = false
caddymain.Run()
}