Update prod URL

This commit is contained in:
Simon 2020-02-16 16:44:05 +01:00
parent c806cead14
commit a8dbc19968
3 changed files with 4 additions and 3 deletions

1
.env
View File

@ -1 +1,2 @@
NAME=histoiredunpied
URL=histoiredunpied.com

View File

@ -1,4 +1,4 @@
baseURL = "https://histoiredunpied.lamelio.fr/"
baseURL = "https://histoiredunpied.com/"
languageCode = "fr-fr"
title = "Histoire d'un Pied"
theme = "lowtech"

View File

@ -10,10 +10,10 @@ services:
labels:
traefik.enable: "true"
traefik.docker.network: "traefik"
traefik.http.routers.histoiredunpied.rule: "Host(`${NAME}.lamelio.fr`)"
traefik.http.routers.histoiredunpied.rule: "Host(`${URL}`)"
traefik.http.routers.histoiredunpied.entrypoints: "web"
traefik.http.routers.histoiredunpied.middlewares: "redirect-https@docker"
traefik.http.routers.histoiredunpied-https.rule: "Host(`${NAME}.lamelio.fr`)"
traefik.http.routers.histoiredunpied-https.rule: "Host(`${URL}`)"
traefik.http.routers.histoiredunpied-https.entrypoints: "websecure"
traefik.http.routers.histoiredunpied-https.tls.certResolver: "letsencrypt"