mirror of
https://github.com/bsedin/matrix-webhook.git
synced 2026-04-09 11:25:40 +00:00
remove the need for www
This commit is contained in:
@@ -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}`)"
|
||||||
|
|||||||
Reference in New Issue
Block a user