From 9883782f3a8486fc91e33485464e405220c8a686 Mon Sep 17 00:00:00 2001 From: Guilhem Saurel Date: Sun, 7 Jun 2020 10:31:21 +0200 Subject: [PATCH] remove the need for www --- README.md | 3 +-- docker-compose.yml | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 3597a12..ca3fe6d 100644 --- a/README.md +++ b/README.md @@ -24,8 +24,7 @@ pip3 install --user markdown matrix-nio - Use [Traefik](https://traefik.io/) on the `web` docker network, eg. with [proxyta.net](https://framagit.org/oxyta.net/proxyta.net) - Put the configuration into a `.env` file -- Configure your DNS for `${CHATONS_SERVICE:-matrixwebhook}.${CHATONS_DOMAIN:-localhost}` **and** - `www.${CHATONS_SERVICE:-matrixwebhook}.${CHATONS_DOMAIN:-localhost}` +- Configure your DNS for `${CHATONS_SERVICE:-matrixwebhook}.${CHATONS_DOMAIN:-localhost}` ``` docker-compose up -d diff --git a/docker-compose.yml b/docker-compose.yml index 26941b0..f19249a 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -14,4 +14,4 @@ services: - web labels: 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}`)"