Commit 6492592b authored by Matthew Holt's avatar Matthew Holt

Update change list, fix build script; version 0.9 beta 1

parent 6c847d07
...@@ -29,8 +29,7 @@ func init() { ...@@ -29,8 +29,7 @@ func init() {
setVersion() setVersion()
flag.BoolVar(&caddytls.Agreed, "agree", false, "Agree to the CA's Subscriber Agreement") 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-v01.api.letsencrypt.org/directory", "URL to certificate authority's ACME server directory")
flag.StringVar(&caddytls.DefaultCAUrl, "ca", "https://acme-staging.api.letsencrypt.org/directory", "URL to certificate authority's ACME server directory")
flag.StringVar(&conf, "conf", "", "Caddyfile to load (default \""+caddy.DefaultConfigFile+"\")") flag.StringVar(&conf, "conf", "", "Caddyfile to load (default \""+caddy.DefaultConfigFile+"\")")
flag.StringVar(&cpu, "cpu", "100%", "CPU cap") flag.StringVar(&cpu, "cpu", "100%", "CPU cap")
flag.BoolVar(&plugins, "plugins", false, "List installed plugins") flag.BoolVar(&plugins, "plugins", false, "List installed plugins")
......
CHANGES CHANGES
0.9 0.9 beta 1 (June 7, 2016)
- New core - New core
- New experimental QUIC support with -quic flag (HTTPS only) - New experimental QUIC support with -quic flag (HTTPS only)
- New -type flag to specify other server type - New -type flag to specify other server types
- Moved ~/.caddy/letsencrypt to ~/.caddy/acme and re-organized assets - Moved ~/.caddy/letsencrypt to ~/.caddy/acme and reorganized assets
- Moved caddy package to top level folder, and pushed main to subfolder - 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 have paths
- Site addresses can make some use of wildcards in domains - 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 - markdown: Overhauled; removed site generation features
- proxy: More control of headers - proxy: More control of headers
- proxy: Specify multiple upstreams with optional port ranges - 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: Generate self-signed certificates in memory
- tls: Support for ACME DNS challenge across 10 providers
- tls: Support for TLS-SNI challenge during restarts - tls: Support for TLS-SNI challenge during restarts
- Various bug fixes and enhancements
0.8.3 (April 26, 2016) 0.8.3 (April 26, 2016)
......
...@@ -3,7 +3,7 @@ CADDY 0.9 beta 1 ...@@ -3,7 +3,7 @@ CADDY 0.9 beta 1
Website Website
https://caddyserver.com https://caddyserver.com
Community Community Forum
https://forum.caddyserver.com https://forum.caddyserver.com
Twitter Twitter
......
...@@ -12,11 +12,12 @@ import ( ...@@ -12,11 +12,12 @@ import (
"github.com/mholt/archiver" "github.com/mholt/archiver"
) )
var buildScript, repoDir, distDir, buildDir, releaseDir string var buildScript, repoDir, mainDir, distDir, buildDir, releaseDir string
func init() { func init() {
repoDir = filepath.Join(os.Getenv("GOPATH"), "src", "github.com", "mholt", "caddy") 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") distDir = filepath.Join(repoDir, "dist")
buildDir = filepath.Join(distDir, "builds") buildDir = filepath.Join(distDir, "builds")
releaseDir = filepath.Join(distDir, "release") releaseDir = filepath.Join(distDir, "release")
...@@ -98,7 +99,7 @@ func main() { ...@@ -98,7 +99,7 @@ func main() {
func build(p platform, out string) error { func build(p platform, out string) error {
cmd := exec.Command(buildScript, out) cmd := exec.Command(buildScript, out)
cmd.Dir = repoDir cmd.Dir = mainDir
cmd.Env = os.Environ() cmd.Env = os.Environ()
cmd.Env = append(cmd.Env, "CGO_ENABLED=0") cmd.Env = append(cmd.Env, "CGO_ENABLED=0")
cmd.Env = append(cmd.Env, "GOOS="+p.os) cmd.Env = append(cmd.Env, "GOOS="+p.os)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment