Multi-site Tenancy #1630
|
I was wondering if anyone has setup multi-site tenancy with Lerd. I have set in my - domains
- main.test
- subone.test
- subtwo.testWhen I go to Thanks for any light you can shed on what I'm doing wrong. |
Replies: 2 comments
|
Two things are going on, and neither is your fault really, lerd should have told you about both. The The second one is that domains go in without the TLD, so So what you want is domains:
- main
- subone
- subtwoNote the indentation too, the entries sit under the key rather than nested two levels in. Re-running One thing worth knowing while we are here, lerd watches |
|
Thank you. The domains were a typo when I wrote up the discussion. I have everything working now. |
Two things are going on, and neither is your fault really, lerd should have told you about both.
The
.lerd.yamlyou pasted is a top level list, not a map. The leading dash on- domainsturns the whole document into a sequence, so it does not parse into the config struct at all and lerd throws the entire file away without saying anything. That is why nothing you put in there had any effect. Filed as #1631.The second one is that domains go in without the TLD, so
main.testbecomesmain.test.testand never resolves.lerd domain addlearned to strip a trailing.testa while back, the.lerd.yamlpath never did. Filed as #1632, it will accept both spellings once that lands.So what you want is
d…