mirror of
https://github.com/caddyserver/caddy.git
synced 2024-11-25 09:40:13 +08:00
Update change list, fix build script; version 0.9 beta 1
This commit is contained in:
parent
6c847d0723
commit
6492592b4a
|
@ -29,8 +29,7 @@ func init() {
|
|||
setVersion()
|
||||
|
||||
flag.BoolVar(&caddytls.Agreed, "agree", false, "Agree to the CA's Subscriber Agreement")
|
||||
// TODO: Change from staging to v01
|
||||
flag.StringVar(&caddytls.DefaultCAUrl, "ca", "https://acme-staging.api.letsencrypt.org/directory", "URL to certificate authority's ACME server directory")
|
||||
flag.StringVar(&caddytls.DefaultCAUrl, "ca", "https://acme-v01.api.letsencrypt.org/directory", "URL to certificate authority's ACME server directory")
|
||||
flag.StringVar(&conf, "conf", "", "Caddyfile to load (default \""+caddy.DefaultConfigFile+"\")")
|
||||
flag.StringVar(&cpu, "cpu", "100%", "CPU cap")
|
||||
flag.BoolVar(&plugins, "plugins", false, "List installed plugins")
|
||||
|
|
15
dist/CHANGES.txt
vendored
15
dist/CHANGES.txt
vendored
|
@ -1,21 +1,24 @@
|
|||
CHANGES
|
||||
|
||||
0.9
|
||||
0.9 beta 1 (June 7, 2016)
|
||||
- New core
|
||||
- New experimental QUIC support with -quic flag (HTTPS only)
|
||||
- New -type flag to specify other server type
|
||||
- Moved ~/.caddy/letsencrypt to ~/.caddy/acme and re-organized assets
|
||||
- New -type flag to specify other server types
|
||||
- Moved ~/.caddy/letsencrypt to ~/.caddy/acme and reorganized assets
|
||||
- Moved caddy package to top level folder, and pushed main to subfolder
|
||||
- Changed -directives flag to -plugins
|
||||
- Site addresses can have paths
|
||||
- Site addresses can make some use of wildcards in domains
|
||||
- Removed -restart option (all restarts happen in-process)
|
||||
- Renamed -directives flag to -plugins
|
||||
- Restarting no longer requires spawning a new process
|
||||
- Removed -restart option
|
||||
- log: New {request} placeholder to dump entire request (sans body)
|
||||
- markdown: Overhauled; removed site generation features
|
||||
- proxy: More control of headers
|
||||
- proxy: Specify multiple upstreams with optional port ranges
|
||||
- tls: Support for ACME DNS challenge across 10 providers
|
||||
- tls: Generate self-signed certificates in memory
|
||||
- tls: Support for ACME DNS challenge across 10 providers
|
||||
- tls: Support for TLS-SNI challenge during restarts
|
||||
- Various bug fixes and enhancements
|
||||
|
||||
|
||||
0.8.3 (April 26, 2016)
|
||||
|
|
2
dist/README.txt
vendored
2
dist/README.txt
vendored
|
@ -3,7 +3,7 @@ CADDY 0.9 beta 1
|
|||
Website
|
||||
https://caddyserver.com
|
||||
|
||||
Community
|
||||
Community Forum
|
||||
https://forum.caddyserver.com
|
||||
|
||||
Twitter
|
||||
|
|
7
dist/automate.go
vendored
7
dist/automate.go
vendored
|
@ -12,11 +12,12 @@ import (
|
|||
"github.com/mholt/archiver"
|
||||
)
|
||||
|
||||
var buildScript, repoDir, distDir, buildDir, releaseDir string
|
||||
var buildScript, repoDir, mainDir, distDir, buildDir, releaseDir string
|
||||
|
||||
func init() {
|
||||
repoDir = filepath.Join(os.Getenv("GOPATH"), "src", "github.com", "mholt", "caddy")
|
||||
buildScript = filepath.Join(repoDir, "caddy", "build.bash")
|
||||
mainDir = filepath.Join(repoDir, "caddy")
|
||||
buildScript = filepath.Join(mainDir, "build.bash")
|
||||
distDir = filepath.Join(repoDir, "dist")
|
||||
buildDir = filepath.Join(distDir, "builds")
|
||||
releaseDir = filepath.Join(distDir, "release")
|
||||
|
@ -98,7 +99,7 @@ func main() {
|
|||
|
||||
func build(p platform, out string) error {
|
||||
cmd := exec.Command(buildScript, out)
|
||||
cmd.Dir = repoDir
|
||||
cmd.Dir = mainDir
|
||||
cmd.Env = os.Environ()
|
||||
cmd.Env = append(cmd.Env, "CGO_ENABLED=0")
|
||||
cmd.Env = append(cmd.Env, "GOOS="+p.os)
|
||||
|
|
Loading…
Reference in New Issue
Block a user