Package Details: caddy 0.10.10-3

Git Clone URL: https://aur.archlinux.org/caddy.git (read-only)
Package Base: caddy
Description: HTTP/2 Web Server with Automatic HTTPS
Upstream URL: https://caddyserver.com
Licenses: Apache
Submitter: crvv
Maintainer: crvv (carlwgeorge)
Last Packager: crvv
Votes: 21
Popularity: 1.441902
First Submitted: 2016-09-22 04:09
Last Updated: 2017-11-24 07:06

Latest Comments

crvv commented on 2017-11-24 07:14

@Svenstaro
"/var/log/caddy" was added in ReadWritePaths.

Svenstaro commented on 2017-11-22 10:56

I think /var/log/http or /var/log/caddy should be the expected location for logs as a similar system is also used by apache and nginx. I don't think there's a bad security implication waiting there.

crvv commented on 2017-11-22 10:03

@Svenstaro
On my server, I just wrote 'log stderr' in Caddyfile and read access log with `journalctl -fu caddy`.
I am not sure whether it's a good decision to add a ReadWriteDirectories for everyone.
Custom systemd directives can be added with `systemctl edit caddy.service`.

crvv commented on 2017-11-22 09:48

@S13ntist
Bacause there are similar files in nginx package(https://www.archlinux.org/packages/community/x86_64/nginx-mainline/), those files were added by carlwgeorge.
With them, a user can just install this package, `systemctl start caddy` and get a working HTTP server with a good-looking page.

Svenstaro commented on 2017-11-22 08:40

I think something like ReadWriteDirectories=/var/log/http should be added so that system level logging can be done.

S13ntist commented on 2017-11-18 13:11

Why do you install assets just to provide a dummy page?
It isn't needed in my opinion and pollutes the package build.

What's the motivation?

crvv commented on 2017-06-29 11:17

@nelsonc
There is an array at the end of PKGBUILD. Plugins in that array will be compiled into the caddy binary.

@carlwgeorge
Because plugins can be configured in PKGBUILD, I removed those DNS provider plugins.

mytbk commented on 2017-06-29 00:27

Caddy 0.10.4 doesn't need `go get` now, dependencies are all in vendor directory.

crvv commented on 2017-05-16 04:37

@carlwgeorge
Thanks for these improvements. I have added you as maintainer.

carlwgeorge commented on 2017-05-15 23:38

Can I be added as a co-maintainer? I would like to make a few improvements to this package. Check out what I've done with caddy-bin to see the implementation of some of these.

* build from GitHub tarball, not git clone
* build using `go build` directly, not build.bash
* run as the existing http user
* store tls things in /var/lib/caddy (created by a tmpfiles config)
* include a default example page (index.html and svg image)
* include a default Caddyfile
* run appropriate systemctl commands in caddy.install

All comments