Skip to content

Latest commit

 

History

History
24 lines (16 loc) · 502 Bytes

README.md

File metadata and controls

24 lines (16 loc) · 502 Bytes

Socket Activation for Caddy

Useful in deployments where sockets are passed by systemd.

Usage

Caddy Configuration

localhost:443 {
    bind socket-activation/https
    respond "ok"
}

Using socket activation requires every site block to have explicit bind, it can be used in a snippet to avoid repetition.

Usage

Commandline

systemd-socket-activate -l 443 --fdname=https systemd-socket-activate --datagram -l 443 --fdname=https:https caddy run