aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorQuentin Dufour <quentin@deuxfleurs.fr>2020-01-14 00:52:27 +0100
committerQuentin Dufour <quentin@deuxfleurs.fr>2020-01-14 00:52:27 +0100
commit3431927ad5faf0f5d2da4fe78240e560196d5bd7 (patch)
treeb5103792b4398d1801d3a7d083a5baf21da3a246
parenteab32df4ee4bc4c590767f5891cf2f5190a19fae (diff)
downloadinfrastructure-3431927ad5faf0f5d2da4fe78240e560196d5bd7.tar.gz
infrastructure-3431927ad5faf0f5d2da4fe78240e560196d5bd7.zip
Fix landing page
-rw-r--r--docker/landing/README.md2
-rw-r--r--docker/landing/html/index.html2
-rw-r--r--docker/landing/html/landing/arobase.png (renamed from docker/landing/html/arobase.png)bin1326 -> 1326 bytes
-rw-r--r--nomad/web_static.hcl4
4 files changed, 4 insertions, 4 deletions
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 {
<h2>Comment nous rejoindre ?</h2>
<p>Si vous connaissez un utilisateur du service, contactez-le directement.<br/>
-Sinon, vous pouvez envoyer un email à <samp>*coucou</samp><img src="arobase.png" alt="arobase" width="14"><samp>deuxfleurs.fr</samp>.</p>
+Sinon, vous pouvez envoyer un email à <samp>*coucou</samp><img src="landing/arobase.png" alt="arobase" width="14"><samp>deuxfleurs.fr</samp>.</p>
</article>
</div>
</div>
diff --git a/docker/landing/html/arobase.png b/docker/landing/html/landing/arobase.png
index d2a275a..d2a275a 100644
--- a/docker/landing/html/arobase.png
+++ b/docker/landing/html/landing/arobase.png
Binary files differ
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"