diff --git a/Caddyfile-Directives.md b/Caddyfile-Directives.md index b4a78b1..6c9a8bb 100644 --- a/Caddyfile-Directives.md +++ b/Caddyfile-Directives.md @@ -5,6 +5,15 @@ This list is presented alphabetically. The order in which directives appear in t ## List of directives +#### cpu + +Limits use of processor cores to the number (or percentage) specified. By default, all cores may be used to serve requests. This directive is actually process-wide, meaning that it applies to ALL servers started with the same instance of `caddy`. If specified multiple times, the highest value is used. Can be a number (at least 1) or a percent (between 1% and 100%). + +``` +cpu 50% +``` + + #### ext Internally adds extensions to the requests. Extensions will be tried in the order listed. This allows you to easily serve cleaner URLs.