1. 04 Nov, 2017 1 commit
    • Kevin Stock's avatar
      tls: Add option for backend to approve on-demand cert (#1939) · 689591ef
      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.
      689591ef
  2. 02 Nov, 2017 1 commit
  3. 31 Oct, 2017 3 commits
  4. 29 Oct, 2017 1 commit
  5. 22 Oct, 2017 2 commits
  6. 19 Oct, 2017 1 commit
  7. 16 Oct, 2017 3 commits
  8. 13 Oct, 2017 1 commit
  9. 12 Oct, 2017 2 commits
  10. 09 Oct, 2017 2 commits
  11. 05 Oct, 2017 2 commits
  12. 03 Oct, 2017 2 commits
  13. 02 Oct, 2017 2 commits
  14. 01 Oct, 2017 2 commits
  15. 28 Sep, 2017 1 commit
  16. 23 Sep, 2017 3 commits
  17. 22 Sep, 2017 4 commits
  18. 18 Sep, 2017 2 commits
    • Tim Lewis's avatar
      Fix linux-sysvinit script to prevent missing caddy.log · fea8f37f
      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.
      fea8f37f
    • Tim Lewis's avatar
      Fix spurious .pid file error in linux-sysvinit · a8082520
      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.
      a8082520
  19. 16 Sep, 2017 2 commits
  20. 15 Sep, 2017 2 commits
  21. 12 Sep, 2017 1 commit