Only use a single domain for YOURLS

This commit is contained in:
Jake Howard 2020-04-26 16:33:05 +01:00
parent bfce9e1cbf
commit 957d4d7b69
Signed by: jake
GPG key ID: 57AFB45680EDD477
2 changed files with 1 additions and 9 deletions

View file

@ -17,7 +17,7 @@ services:
- ./index.html:/var/www/html/index.html
labels:
- "traefik.enable=true"
- "traefik.http.routers.yourls.rule=Host(`go.theorangeone.net`) || Host(`0rng.one`)"
- "traefik.http.routers.yourls.rule=Host(`0rng.one`)"
- "traefik.http.routers.yourls.tls=true"
- "traefik.http.routers.yourls.tls.certresolver=le"

View file

@ -10,14 +10,6 @@ resource "cloudflare_record" "theorangeonenet_git" {
ttl = 1
}
resource "cloudflare_record" "theorangeonenet_go" {
zone_id = cloudflare_zone.theorangeonenet.id
name = "go"
value = vultr_server.casey.main_ip
type = "A"
ttl = 1
}
resource "cloudflare_record" "theorangeonenet_stats" {
zone_id = cloudflare_zone.theorangeonenet.id
name = "stats"