mirror of
https://github.com/caddyserver/caddy.git
synced 2025-07-07 10:15:06 -04:00
Documenting new 'cpu' directive
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.
|
||||
|
Loading…
x
Reference in New Issue
Block a user