stash
This commit is contained in:
parent
ed04d98bf1
commit
aa94c92000
10 changed files with 873 additions and 296 deletions
|
|
@ -48,17 +48,27 @@ toolshed:
|
|||
```
|
||||
|
||||
- `toolshed_domain` — the **web domain**: the nginx `server_name`, Django
|
||||
`ALLOWED_HOSTS`, and the hostname you'll point a TLS cert at — e.g.
|
||||
`toolshed.webdomain.tld`. Required, no default. This is not necessarily the
|
||||
same as the **handle domain** your users log in with (the part after `@`
|
||||
in `user@yourtoolshed.tld`) — see [DNS](#3-dns) for how those two relate.
|
||||
`ALLOWED_HOSTS`, and the hostname(s) you'll point a TLS cert at — e.g.
|
||||
`toolshed.webdomain.tld`. Required, no default. May be a single domain (as
|
||||
above) or a list, e.g. to also answer on a `www.` alias:
|
||||
```yaml
|
||||
toolshed_domain:
|
||||
- toolshed.webdomain.tld
|
||||
- www.toolshed.webdomain.tld
|
||||
```
|
||||
The Let's Encrypt certificate covers all of them, named on disk after
|
||||
whichever one is listed first. This is not necessarily the same as the
|
||||
**handle domain** your users log in with (the part after `@` in
|
||||
`user@yourtoolshed.tld`) — see [DNS](#3-dns) for how those two relate.
|
||||
- `toolshed_handle_domain` — the **handle domain**, only needed when it's
|
||||
different from `toolshed_domain`. Omit it when the two are the same (it
|
||||
then defaults to `toolshed_domain`). It doesn't affect nginx/Django at all
|
||||
(they only ever accept `toolshed_domain` as the `Host` header) — it's used
|
||||
then defaults to `toolshed_domain`). Like `toolshed_domain`, it may be a
|
||||
single domain or a list, e.g. if this deployment accepts registrations for
|
||||
more than one handle domain. It doesn't affect nginx/Django at all (they
|
||||
only ever accept `toolshed_domain` as the `Host` header) — it's used
|
||||
solely to populate the `/local/domains` registration fixture (see
|
||||
`toolshed_register_domains` in `playbook.yml`); publishing the SRV record is a
|
||||
separate, manual DNS step either way.
|
||||
`toolshed_register_domains` in `playbook.yml`); publishing the SRV record for
|
||||
each handle domain is a separate, manual DNS step either way.
|
||||
- `toolshed_repo_url` — the git remote the playbook checks out and builds
|
||||
from. Required, no default.
|
||||
- `toolshed_version` — the branch, tag or commit to check out and build.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue