caddyserver / xcaddy

Build Caddy with plugins
Apache License 2.0
908 stars 110 forks source link

feat: add automaxprocs in the template #168

Closed dunglas closed 8 months ago

dunglas commented 8 months ago

Backport of https://github.com/caddyserver/caddy/pull/5711

mholt commented 8 months ago

As discussed in Slack, I wonder if we should actually just move the linked patch above into caddycmd.Main() so then this won't be necessary.

Although, could that potentially step on other users of caddycmd.Main() who are already doing this or maybe doing something in conflict with it?