1. 18 Mar, 2016 1 commit
  2. 17 Mar, 2016 4 commits
    • Matthew Holt's avatar
      Refactor output out of Start() · 18332df3
      Matthew Holt authored
      18332df3
    • Matthew Holt's avatar
      gofmt! · b9f8c183
      Matthew Holt authored
      b9f8c183
    • Matthew Holt's avatar
      Fix typo, clarify readme · 37d05092
      Matthew Holt authored
      37d05092
    • Andreas Linz's avatar
      Add systemd unit file and some usage instructions · 6c2bf36d
      Andreas Linz authored
      Add systemd service file for caddy
      
      Add some README with basic setup instructions
      
      Explain how to view the service configuration
      
      Add a note about permissions
      
      Add a comment about run user and group
      
      service->service unit
      
      A systemd service can consist of different units. A unit configuration
      file has the `.service` file ending which is a bit confusing, so please
      be considerate if I'm confusing `service` and `unit` in the README
      
      Fix typos/reword
      
      Add contact information
      6c2bf36d
  3. 16 Mar, 2016 7 commits
  4. 14 Mar, 2016 1 commit
  5. 13 Mar, 2016 5 commits
  6. 12 Mar, 2016 4 commits
  7. 11 Mar, 2016 5 commits
  8. 10 Mar, 2016 2 commits
  9. 08 Mar, 2016 1 commit
  10. 07 Mar, 2016 3 commits
  11. 06 Mar, 2016 2 commits
  12. 03 Mar, 2016 2 commits
  13. 02 Mar, 2016 2 commits
    • Matthew Holt's avatar
    • Matthew Holt's avatar
      Revert recent Content-Length-related changes and fix fastcgi return · 2a46f2a1
      Matthew Holt authored
      fastcgi's ServeHTTP method originally returned the correct value (0) in
      b51e8bc1. Later, I mistakenly suggested
      we change that to return the status code because I forgot that status
      codes aren't logged by the return value. So fastcgi broke due in
      3966936b due to my error.
      
      We later had to try to make up for this with ugly Content-Length checks
      like in c37ad7f6. Turns out that all we
      had to do was fix the returned status here back to 0. The proxy
      middleware behaves the same way, and returning 0 is correct. We should
      only return a status code if the response has not been written, but with
      upstream servers, we do write a response; they do not know about our
      error handler.
      
      Also clarifed this in the middleware.Handler documentation.
      2a46f2a1
  14. 01 Mar, 2016 1 commit