Warning: file_exists(): open_basedir restriction in effect. File(/srv/http/vhosts/aur.archlinux.org/public/web/locale//en/LC_MESSAGES/aurweb.mo) is not within the allowed path(s): (/srv/http/vhosts/aur-dev.archlinux.org/:/etc/aurweb/) in /srv/http/vhosts/aur-dev.archlinux.org/public/web/lib/streams.php on line 90
AUR (en) - caddy-full-bin

Package Details: caddy-full-bin 0.9.5-1

Git Clone URL: https://aur-dev.archlinux.org/caddy-full-bin.git (read-only)
Package Base: caddy-full-bin
Description: A configurable, general-purpose HTTP/2 web server for any platform (All features enabled)
Upstream URL: https://caddyserver.com
Keywords: http2 proxy webserver
Licenses: Apache
Conflicts: caddy, caddy-all-features, caddy-git
Provides: caddy
Submitter: klingt.net
Maintainer: klingt.net
Last Packager: klingt.net
Votes: 21
Popularity: 1.083656
First Submitted: 2016-07-27 09:09
Last Updated: 2017-01-24 22:23

Latest Comments

1 2 3 4 5 6 ... Next › Last »

mpcsh commented on 2017-01-09 21:59

My caddy.service only works if I delete lines 8-10:

Restart=on-failure
StartLimitInterval=86400
StartLimitBurst=5

If I leave them in, I get https://0x0.st/f1Y.log - but if I delete those lines, it starts up without a hitch.

vith commented on 2016-12-23 06:56

I support the switch from HOME to CADDYPATH, but it would have probably been good to print a notice at upgrade time about it.

klingt.net commented on 2016-11-26 12:49

@genofire Changing HOME to CADDYPATH requires to copy the contents from /etc/ssl/caddy/.caddy to /etc/ssl/caddy and this could be quite error prone. If the old certificates are not copied then users could get renewal errors because of rate limiting.

klingt.net commented on 2016-11-24 14:49

@genofire:
Thanks, I will change the service file accordingly but i won't release a new package version immediately because I have to test the implications of this modification thoroughly.

genofire commented on 2016-11-23 12:06

Hi and thx for this AUR.
But:
pls use in the service file "CADDYPATH" instatt of "HOME".
On this way, the files are not in "/etc/ssl/caddy/.caddy" it will be in "/etc/ssl/caddy".
```
; Letsencrypt-issued certificates will be written to this directory.
Environment=CADDYPATH=/etc/ssl/caddy
```

(For other Users, a move of the files are nessassary or caddy will create new certificates)

Thank you

klingt.net commented on 2016-10-06 10:22

This package has hash checks and proper versioning since pkgrel>=9, again!
I've written a small tool `https://github.com/klingtnet/caddy-release-downloader` that downloads various caddys builds, with all plugins, from caddyserver.com and publishes them as release in the repository.
This is all done by a CircleCI job, so there is no interference by me in any kind, which in turn means that you can trust those builds the same as you would trust them if they were build directly via caddys build server.

vith commented on 2016-10-05 18:53

It worked after I moved caddy.tar.gz out of the way so makepkg would redownload it. I'll email you a tarball of the PKGBUILD directory in case you still want to look at it. I don't think you can attach anything other than images to github issues anyway.

klingt.net commented on 2016-10-05 17:05

@vith Can you send me the /home/vith/.cache/pacaur/caddy-full-bin/src/init/linux-systemd/caddy.service.rej file or the whole directory "/home/vith/.cache/pacaur/caddy-full-bin" as a tar.gz?
Does it work when you clean the cache directory "/home/vith/.cache/pacaur/caddy-full-bin"?

PS: I'm working on versioning full caddy builds, but I don't have much time (almost none) atm.

You can find my mail address in my profile.

PPS: Even better, open an issue in github.com/klingtnet/caddy-AUR

vith commented on 2016-10-05 16:58

==> Starting prepare()...
-> Patching systemd service file
patching file /home/vith/.cache/pacaur/caddy-full-bin/src/init/linux-systemd/caddy.service
Hunk #2 FAILED at 38.
1 out of 2 hunks FAILED -- saving rejects to file /home/vith/.cache/pacaur/caddy-full-bin/src/init/linux-systemd/caddy.service.rej
==> ERROR: A failure occurred in prepare().
Aborting...

klingt.net commented on 2016-10-04 08:31

@simon04 It is a `HEREDOC` that gives some migration instructions, see https://github.com/klingtnet/caddy-AUR/blob/url-shortener-fix/caddy-full-bin.install#L8-L15

It looks like you're running `/bin/sh` which was originally a bourne shell but is now bash with restricted feature set.
Hence, there is no heredoc support.

I may will replace the HEREDOC with single `echo` calls in an upcoming package release.