remove the need for www
This commit is contained in:
parent
9615cdf3c7
commit
9883782f3a
2 changed files with 2 additions and 3 deletions
|
@ -24,8 +24,7 @@ pip3 install --user markdown matrix-nio
|
||||||
- Use [Traefik](https://traefik.io/) on the `web` docker network, eg. with
|
- Use [Traefik](https://traefik.io/) on the `web` docker network, eg. with
|
||||||
[proxyta.net](https://framagit.org/oxyta.net/proxyta.net)
|
[proxyta.net](https://framagit.org/oxyta.net/proxyta.net)
|
||||||
- Put the configuration into a `.env` file
|
- Put the configuration into a `.env` file
|
||||||
- Configure your DNS for `${CHATONS_SERVICE:-matrixwebhook}.${CHATONS_DOMAIN:-localhost}` **and**
|
- Configure your DNS for `${CHATONS_SERVICE:-matrixwebhook}.${CHATONS_DOMAIN:-localhost}`
|
||||||
`www.${CHATONS_SERVICE:-matrixwebhook}.${CHATONS_DOMAIN:-localhost}`
|
|
||||||
|
|
||||||
```
|
```
|
||||||
docker-compose up -d
|
docker-compose up -d
|
||||||
|
|
|
@ -14,4 +14,4 @@ services:
|
||||||
- web
|
- web
|
||||||
labels:
|
labels:
|
||||||
traefik.enable: "true"
|
traefik.enable: "true"
|
||||||
traefik.http.routers.matrix-webhook.rule: "Host(`${CHATONS_SERVICE:-matrixwebhook}.${CHATONS_DOMAIN:-localhost}`, `www.${CHATONS_SERVICE:-matrixwebhook}.${CHATONS_DOMAIN:-localhost}`)"
|
traefik.http.routers.matrix-webhook.rule: "Host(`${CHATONS_SERVICE:-matrixwebhook}.${CHATONS_DOMAIN:-localhost}`)"
|
||||||
|
|
Loading…
Reference in a new issue