Documenting new 'cpu' directive

Matt Holt 2015-01-21 14:14:04 -07:00
parent e75a84f34b
commit e71806fc3b

@ -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.