caddy¶
Configure and deploy Caddy
Builds Caddy from a configurable nix package attribute and creates an s6 service with a Caddyfile template.
Variables¶
| Variable | Type | Default | Description |
|---|---|---|---|
caddy_enabled |
boolean | false | Enable the Caddy service |
caddy_env |
dict | {} |
Environment variables for the Caddy service |
caddy_group |
string | caddy | System group for the Caddy service |
caddy_http_port |
string | 8080 | HTTP port for Caddy |
caddy_https_port |
string | 8443 | HTTPS port for Caddy |
caddy_package |
string | nixpkgs#caddy | Nix package attribute for Caddy |
caddy_package_path |
path | /opt/caddy | Nix build output path for Caddy |
caddy_user |
string | caddy | System user for the Caddy service |