From 3431927ad5faf0f5d2da4fe78240e560196d5bd7 Mon Sep 17 00:00:00 2001 From: Quentin Dufour Date: Tue, 14 Jan 2020 00:52:27 +0100 Subject: [PATCH] Fix landing page --- docker/landing/README.md | 2 +- docker/landing/html/index.html | 2 +- docker/landing/html/{ => landing}/arobase.png | Bin nomad/web_static.hcl | 4 ++-- 4 files changed, 4 insertions(+), 4 deletions(-) rename docker/landing/html/{ => landing}/arobase.png (100%) diff --git a/docker/landing/README.md b/docker/landing/README.md index fffdbce..416360e 100644 --- a/docker/landing/README.md +++ b/docker/landing/README.md @@ -1,3 +1,3 @@ ``` -docker build -t superboum/amd64_landing:v5 . +docker build -t superboum/amd64_landing:v7 . ``` diff --git a/docker/landing/html/index.html b/docker/landing/html/index.html index 9bc0aa2..b8de843 100644 --- a/docker/landing/html/index.html +++ b/docker/landing/html/index.html @@ -120,7 +120,7 @@ samp {

Comment nous rejoindre ?

Si vous connaissez un utilisateur du service, contactez-le directement.
-Sinon, vous pouvez envoyer un email à *coucouarobasedeuxfleurs.fr.

+Sinon, vous pouvez envoyer un email à *coucouarobasedeuxfleurs.fr.

diff --git a/docker/landing/html/arobase.png b/docker/landing/html/landing/arobase.png similarity index 100% rename from docker/landing/html/arobase.png rename to docker/landing/html/landing/arobase.png diff --git a/nomad/web_static.hcl b/nomad/web_static.hcl index 7683831..27143a5 100644 --- a/nomad/web_static.hcl +++ b/nomad/web_static.hcl @@ -11,7 +11,7 @@ job "web_static" { task "server" { driver = "docker" config { - image = "superboum/amd64_landing:v6" + image = "superboum/amd64_landing:v7" port_map { web_port = 8043 } @@ -29,7 +29,7 @@ job "web_static" { "webstatic", "traefik.enable=true", "traefik.frontend.entryPoints=https", - "traefik.frontend.rule=Host:deuxfleurs.fr,www.deuxfleurs.fr,deuxfleurs.org,www.deuxfleurs.org;Path:/" + "traefik.frontend.rule=Host:deuxfleurs.fr,www.deuxfleurs.fr;Path:/,/robots.txt,/landing/arobase.png" ] port = "web_port" address_mode = "host"