Package Details: caddy 0.11.5-1

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
Last Packager: crvv
Votes: 35
Popularity: 1.979915
First Submitted: 2016-09-22 04:09
Last Updated: 2019-03-10 12:13

Pinned Comments

crvv commented on 2019-03-10 12:18

@Strykar There is an array at the end of PKGBUILD file, which contains all plugins. You can choose the plugins you want by uncommenting lines in it.

Latest Comments

1 2 3 4 Next › Last »

crvv commented on 2019-04-01 05:29

@stormdragon2976 It looks like there is a similar issue with error code 218. https://github.com/scylladb/scylla/issues/3582

Are you using an old kernel or old systemd? They should be the latest version in Arch Linux.

stormdragon2976 commented on 2019-03-30 12:18

When I try to start caddy using systemctl enable --now caddy it fails with error code 218. Some digging in the journal shows that /usr/bin/caddy failed with invalid parameters. I would really like to get this going. So if there's more information I can provide to get this up and going please let me know. Thanks ::)

pbrenna commented on 2019-03-22 09:12

@crvv that fixes the problem, thank you!

Strykar commented on 2019-03-10 13:50

@crvv Perfect thanks!

crvv commented on 2019-03-10 12:18

@Strykar There is an array at the end of PKGBUILD file, which contains all plugins. You can choose the plugins you want by uncommenting lines in it.

crvv commented on 2019-03-10 12:16

@pbrenna The previous caddy.service wrote "After=network-online.target" and this is wrong. I updated the line to be "After=network-online.target" I think this can fix the problem. Can you confirm that? Thanks.

Strykar commented on 2019-03-10 10:26

Does this not include DNS providers? How do I add a DNS provider, just drop googlecloud.go from https://github.com/caddyserver/dnsproviders/tree/master/googlecloud somewhere?

pbrenna commented on 2019-03-01 09:43

Hi! The official caddy.service uses:

[Unit]
After=network-online.target
Wants=network-online.target systemd-networkd-wait-online.service

This is important for systems where NetworkManager is in charge of setting up the newtork, as bad as this may sound. I suggest that the caddy.service provided by this package should do the same (on such systems, caddy starts when the network is unreachable and does not work until manually restarted).

crvv commented on 2019-01-17 11:09

@skynewz

In caddy.service, there is "ProtectSystem=strict". So "srv/http" is not writable. You can add that path into "ReadWritePaths" in caddy.service

Anonymous comment on 2018-12-02 14:25

Hi!

I have an issue when starting with systemd. I use git plugin in my Caddyfile. I have : ● caddy.service - Caddy HTTP/2 web server Loaded: loaded (/usr/lib/systemd/system/caddy.service; disabled; vendor preset: disabled) Active: failed (Result: exit-code) since Sun 2018-12-02 15:02:06 CET; 9min ago Docs: https://caddyserver.com/docs Process: 6326 ExecStart=/usr/bin/caddy -log stdout -agree -conf /etc/caddy/caddy.conf -root /tmp (code=exited, status=1/FAILURE) Main PID: 6326 (code=exited, status=1/FAILURE)

Dec 02 15:02:06 aloesia caddy[6326]: error: cannot open .git/FETCH_HEAD: Read-only file system Dec 02 15:02:06 aloesia caddy[6326]: 2018/12/02 15:02:06 exit status 1 Dec 02 15:02:06 aloesia caddy[6326]: touch: cannot touch '/srv/http/.ssh/known_hosts': Read-only file system Dec 02 15:02:06 aloesia caddy[6326]: /tmp/caddy491536462: line 5: /srv/http/.ssh/tmp_hosts: Read-only file system Dec 02 15:02:06 aloesia caddy[6326]: cat: /srv/http/.ssh/tmp_hosts: No such file or directory Dec 02 15:02:06 aloesia caddy[6326]: error: cannot open .git/FETCH_HEAD: Read-only file system Dec 02 15:02:06 aloesia caddy[6326]: 2018/12/02 15:02:06 exit status 1 Dec 02 15:02:06 aloesia caddy[6326]: 2018/12/02 15:02:06 exit status 1 Dec 02 15:02:06 aloesia systemd[1]: caddy.service: Main process exited, code=exited, status=1/FAILURE Dec 02 15:02:06 aloesia systemd[1]: caddy.service: Failed with result 'exit-code'.

And the caddy.service is not modified. Someone have an idea ?