Update Configuration
parent
f23c4da63f
commit
2fd384578e
@ -26,8 +26,8 @@ The `route` block represents a virtual host configuration.
|
|||||||
- `name` (label, string): The name of the virtual host.
|
- `name` (label, string): The name of the virtual host.
|
||||||
- `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. See the [Backends](Backends) page for more information.
|
||||||
- `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.
|
- `permissions` (optional, object): Permissions map for the route. If this is missing, all users will be allowed to access all resources. See the [Permissions](Permissions) page for more information.
|
||||||
|
|
||||||
### Example
|
### Example
|
||||||
```hcl
|
```hcl
|
||||||
|
Loading…
Reference in New Issue
Block a user