Caddy server would not start and displayed this error after upgrading to v0.9.3:
listen tcp :443: bind: permission denied
I was running caddy with systemd as user caddy
. I checked that the binary was, in fact, owned by caddy
.
permissions
Caddy server would not start and displayed this error after upgrading to v0.9.3:
listen tcp :443: bind: permission denied
I was running caddy with systemd as user caddy
. I checked that the binary was, in fact, owned by caddy
.
Best Answer
If you're running systemd v229 or later, you can do this without giving the binary capabilities intrinsically: