Update Configuration
parent
dfa76c1f5e
commit
8a96019257
@ -27,7 +27,7 @@ The `route` block represents a virtual host configuration.
|
|||||||
- `backend` (string): The backend to use for the route (e.g., `docker`, `serial`).
|
- `backend` (string): The backend to use for the route (e.g., `docker`, `serial`).
|
||||||
- `match` (string): The regular expression to match for routing. The first capture group in the regular expression will be passed to the backend as the argument. If there's a named capture group with the name `arg`, that will be used as the argument instead. If there are no capture groups, the whole routing path will be used as the argument.
|
- `match` (string): The regular expression to match for routing. The first capture group in the regular expression will be passed to the backend as the argument. If there's a named capture group with the name `arg`, that will be used as the argument instead. If there are no capture groups, the whole routing path will be used as the argument.
|
||||||
- `settings` (object): Additional settings for the backend. These are different for each backend.
|
- `settings` (object): Additional settings for the backend. These are different for each backend.
|
||||||
- `permissions` (optional, object): Permissions map for the route. If this is missing, all users will be allowed to access all resources.
|
- `permissions` (optional, object): Permissions map for the route. If this is missing, all users will be allowed to access all resources. See more information on the [Permissions](Permissions) page.
|
||||||
|
|
||||||
### Example
|
### Example
|
||||||
```hcl
|
```hcl
|
||||||
|
Loading…
Reference in New Issue
Block a user