Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
caddy
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Łukasz Nowak
caddy
Commits
e7fc26e3
Commit
e7fc26e3
authored
8 years ago
by
Matthew Holt
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Improved godoc, added two missing directives, update change log
parent
b23eec4f
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
47 additions
and
7 deletions
+47
-7
caddy.go
caddy.go
+13
-0
caddyhttp/httpserver/plugin.go
caddyhttp/httpserver/plugin.go
+2
-0
caddytls/tls.go
caddytls/tls.go
+12
-1
dist/CHANGES.txt
dist/CHANGES.txt
+20
-6
No files found.
caddy.go
View file @
e7fc26e3
// Package caddy implements the Caddy server manager.
//
// To use this package:
//
// 1. Set the AppName and AppVersion variables.
// 2. Call LoadCaddyfile() to get the Caddyfile.
// Pass in the name of the server type (like "http").
// 3. Call caddy.Start() to start Caddy. You get back
// an Instance, on which you can call Restart() to
// restart it or Stop() to stop it.
//
// You should call Wait() on your instance to wait for
// all servers to quit before your process exits.
package
caddy
package
caddy
import
(
import
(
...
...
This diff is collapsed.
Click to expand it.
caddyhttp/httpserver/plugin.go
View file @
e7fc26e3
...
@@ -343,6 +343,8 @@ var directives = []string{
...
@@ -343,6 +343,8 @@ var directives = []string{
"jsonp"
,
// github.com/pschlump/caddy-jsonp
"jsonp"
,
// github.com/pschlump/caddy-jsonp
"upload"
,
// blitznote.com/src/caddy.upload
"upload"
,
// blitznote.com/src/caddy.upload
"internal"
,
"internal"
,
"pprof"
,
"expvar"
,
"proxy"
,
"proxy"
,
"fastcgi"
,
"fastcgi"
,
"websocket"
,
"websocket"
,
...
...
This diff is collapsed.
Click to expand it.
caddytls/tls.go
View file @
e7fc26e3
// Package caddytls facilitates the management of TLS assets and integrates
// Package caddytls facilitates the management of TLS assets and integrates
// Let's Encrypt functionality into Caddy with first-class support for
// Let's Encrypt functionality into Caddy with first-class support for
// creating and renewing certificates automatically.
// creating and renewing certificates automatically. It also implements
// the tls directive.
//
// This package is meant to be used by Caddy server types. To use the
// tls directive, a server type must import this package and call
// RegisterConfigGetter(). The server type must make and keep track of
// the caddytls.Config structs that this package produces. It must also
// add tls to its list of directives. When it comes time to make the
// server instances, the server type can call MakeTLSConfig() to convert
// a []caddytls.Config to a single tls.Config for use in tls.NewListener().
// It is also recommended to call RotateSessionTicketKeys() when
// starting a new listener.
package
caddytls
package
caddytls
import
(
import
(
...
...
This diff is collapsed.
Click to expand it.
dist/CHANGES.txt
View file @
e7fc26e3
CHANGES
CHANGES
<master>
0.9
- ...
- 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
- 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)
- 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 TLS-SNI challenge during restarts
0.8.3 (April 26, 2016)
0.8.3 (April 26, 2016)
...
@@ -55,7 +69,7 @@ CHANGES
...
@@ -55,7 +69,7 @@ CHANGES
- Dozens of bug fixes, improvements, and more tests across the board
- Dozens of bug fixes, improvements, and more tests across the board
0.8
.0
(December 4, 2015)
0.8 (December 4, 2015)
- HTTPS by default via Let's Encrypt (certs & keys are fully managed)
- HTTPS by default via Let's Encrypt (certs & keys are fully managed)
- Graceful restarts (on POSIX-compliant systems)
- Graceful restarts (on POSIX-compliant systems)
- Major internal refactoring to allow use of Caddy as library
- Major internal refactoring to allow use of Caddy as library
...
@@ -155,7 +169,7 @@ CHANGES
...
@@ -155,7 +169,7 @@ CHANGES
- tls: Client authentication
- tls: Client authentication
0.7
.0
(May 25, 2015)
0.7 (May 25, 2015)
- New directive 'internal' to protect resources with X-Accel-Redirect
- New directive 'internal' to protect resources with X-Accel-Redirect
- New -version flag to show program name and version
- New -version flag to show program name and version
- core: Fixed escaped backslash characters inside quoted strings
- core: Fixed escaped backslash characters inside quoted strings
...
@@ -173,7 +187,7 @@ CHANGES
...
@@ -173,7 +187,7 @@ CHANGES
- Other internal improvements that are not user-facing (more tests, etc.)
- Other internal improvements that are not user-facing (more tests, etc.)
0.6
.0
(May 7, 2015)
0.6 (May 7, 2015)
- New directive 'git' to automatically pull changes
- New directive 'git' to automatically pull changes
- New directive 'bind' to override host server binds to
- New directive 'bind' to override host server binds to
- New -root flag to specify root path to default site
- New -root flag to specify root path to default site
...
@@ -208,5 +222,5 @@ CHANGES
...
@@ -208,5 +222,5 @@ CHANGES
- fastcgi: Fix for handling errors that come from responder
- fastcgi: Fix for handling errors that come from responder
0.5
.0
(April 28, 2015)
0.5 (April 28, 2015)
- Initial release
- Initial release
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment