Remove traefik subdomain

This commit is contained in:
Jake Howard 2020-04-25 12:15:28 +01:00
parent 6695e60f8e
commit 3e523bd04b
Signed by: jake
GPG key ID: 57AFB45680EDD477
4 changed files with 2 additions and 34 deletions

View file

@ -1,6 +1,5 @@
internal_hostnames: internal_hostnames:
- duplicati.jakehoward.tech - duplicati.jakehoward.tech
- traefik.jakehoward.tech
- deluge.jakehoward.tech - deluge.jakehoward.tech
- speed.jakehoward.tech - speed.jakehoward.tech
- pihole.jakehoward.tech - pihole.jakehoward.tech

View file

@ -18,26 +18,3 @@ http:
- web - web
middlewares: middlewares:
- hsts - hsts
ping:
service: ping@internal
rule: Host(`traefik.jakehoward.tech`) && Path(`/ping/`)
middlewares:
- hsts
tls:
certResolver: le
dashboard:
service: dashboard@internal
rule: Host(`traefik.jakehoward.tech`)
middlewares:
- hsts
- internal-only
tls:
certResolver: le
api:
service: api@internal
rule: Host(`traefik.jakehoward.tech`) && PathPrefix(`/api`)
middlewares:
- hsts
- internal-only
tls:
certResolver: le

View file

@ -15,8 +15,7 @@ entryPoints:
trustedIPs: trustedIPs:
- "{{ wireguard.cidr }}" - "{{ wireguard.cidr }}"
ping: ping: {}
manualRouting: true
providers: providers:
docker: docker:
@ -28,6 +27,7 @@ providers:
api: api:
dashboard: true dashboard: true
insecure: true
certificatesResolvers: certificatesResolvers:
le: le:

View file

@ -68,14 +68,6 @@ resource "cloudflare_record" "jakehowardtech_ttrss" {
ttl = 1 ttl = 1
} }
resource "cloudflare_record" "jakehowardtech_traefik" {
zone_id = cloudflare_zone.jakehowardtech.id
name = "traefik"
value = vultr_server.casey.main_ip
type = "A"
ttl = 1
}
resource "cloudflare_record" "jakehowardtech_speed" { resource "cloudflare_record" "jakehowardtech_speed" {
zone_id = cloudflare_zone.jakehowardtech.id zone_id = cloudflare_zone.jakehowardtech.id
name = "speed" name = "speed"