This commit is contained in:
parent
55748f30fb
commit
add30dcfdd
1 changed files with 2 additions and 3 deletions
|
@ -10,7 +10,7 @@ Any changes there will persist updates and supersede the default config. The Sys
|
||||||
|
|
||||||
#### User Configuration
|
#### User Configuration
|
||||||
|
|
||||||
DomainLink currently expects redirect files to be placed in any home directory, specifically `/home/{user}/.config/domainlink/config.toml`.
|
DomainLink currently expects redirect files to be placed in any home directory, specifically `/home/{user}/.config/domainlink/domains.toml` or `/root/.config/domainlink/domains.toml`.
|
||||||
Redirects are configured in an array, below is an example config.
|
Redirects are configured in an array, below is an example config.
|
||||||
```toml
|
```toml
|
||||||
[[domain_configs]]
|
[[domain_configs]]
|
||||||
|
@ -18,4 +18,3 @@ domains = ["sub.domain.tld", "sub2.domain.tld"]
|
||||||
target = "https://sub.domain.tld/query"
|
target = "https://sub.domain.tld/query"
|
||||||
```
|
```
|
||||||
By default, DomainLink does not create any redirect rules, you will have to create these yourself.
|
By default, DomainLink does not create any redirect rules, you will have to create these yourself.
|
||||||
Support for `/root/.config/domainlink/redirects` may come in the future.
|
|
Loading…
Reference in a new issue