- 04 Nov, 2017 1 commit
-
-
Kevin Stock authored
This adds the ask sub-directive to tls that defines the URL of a backend HTTP service to be queried during the TLS handshake to determine if an on-demand TLS certificate should be acquired for incoming hostnames. When the ask sub-directive is defined, Caddy will query the URL for permission to acquire a cert by making a HTTP GET request to the URL including the requested domain in the query string. If the backend service returns a 2xx response Caddy will acquire a cert. Any other response code (including 3xx redirects) are be considered a rejection and the certificate will not be acquired.
-
- 02 Nov, 2017 1 commit
-
-
Sayem Chowdhury authored
* Update build instruction This changes add proper an easy instruction for building. * Update README.md
-
- 31 Oct, 2017 3 commits
-
-
frk authored
The rc.subr framework already takes care of substituting user. So, using daemon's -u option is double user-substitution and fails if $caddy_user is non-root.
-
Arthur Silva authored
-
Arthur Silva authored
caddy.go:569: could be simplified sigtrap_posix.go:87: value of inst is never used upgrade.go:151: should omit nil check; len() for nil slices is defined as zero
-
- 29 Oct, 2017 1 commit
-
-
Mohammed Al Sahaf authored
-
- 22 Oct, 2017 2 commits
-
-
elcore authored
-
Toby Allen authored
Changes the log output of on startup
-
- 19 Oct, 2017 1 commit
-
-
elcore authored
-
- 16 Oct, 2017 3 commits
-
-
Matthew Holt authored
-
Alex Gaynor authored
* Handle the case of an OCSP responder certificate expiring before an OCSP response it issued * oops * doh, gofmt
-
Matthew Holt authored
-
- 13 Oct, 2017 1 commit
-
-
Wèi Cōngruì authored
-
- 12 Oct, 2017 2 commits
-
-
Eugene Dementiev authored
-
Guilherme Bernal authored
-
- 09 Oct, 2017 2 commits
-
-
Matthew Holt authored
-
Matthew Holt authored
A default of true is risky when protecting assets by matching base path. It's not obvious that protecting /foo/ will allow /Foo/ through, and if accessing static files on a case-insensitive file system... that's no good. So the default is now to be case-INsensitive when matching paths.
-
- 05 Oct, 2017 2 commits
-
-
Matthew Holt authored
-
Matthew Holt authored
-
- 03 Oct, 2017 2 commits
-
-
elcore authored
-
Mohammad Gufran authored
-
- 02 Oct, 2017 2 commits
-
-
elcore authored
-
Kevin Stock authored
Provides a new hook for plugins as a means to provide the current caddy.Instance when starting or restarting.
-
- 01 Oct, 2017 2 commits
- 28 Sep, 2017 1 commit
-
-
Matthew Holt authored
This allows you to have multiple redir directives conditioned solely upon if statements, without regard to path.
-
- 23 Sep, 2017 3 commits
-
-
Matthew Holt authored
I am not a lawyer, but according to the appendix of the license, these boilerplate notices should be included with every source file.
-
Matthew Holt authored
When two Caddyfiles with the same name, but different paths, are imported, it can cause a weird bug because isNewLine() returned false when it should return true, since the files are actually different, but it couldn't know that because only the base name was stored, not the whole path.
-
Tw authored
Signed-off-by: Tw <tw19881113@gmail.com>
-
- 22 Sep, 2017 4 commits
-
-
Matthew Holt authored
-
Matthew Holt authored
-
Matthew Holt authored
-
Daniel van Dorp authored
Fix pid error in linux sysvinit
-
- 18 Sep, 2017 2 commits
-
-
Tim Lewis authored
Create /var/log/caddy.log and chown prior to starting caddy. Caddy running as DAEMONUSER does not have permission to create the /var/log/caddy.log.
-
Tim Lewis authored
This change eliminates the `[ERROR] Could not write pidfile: open /var/run/caddy.pid: permission denied` from caddy.log. The start-stop-daemon writes the file as root so the DAEMONUSER that caddy runs as cannot write to the .pid file.
-
- 16 Sep, 2017 2 commits
-
-
Davor Kapsa authored
-
Fake ID authored
-
- 15 Sep, 2017 2 commits
-
-
Matthew Holt authored
-
Adam Williams authored
This reverts commit 56453e96.
-
- 12 Sep, 2017 1 commit
-
-
Matthew Holt authored
-