Add a secondary domain for plausible less likely to match blockers
Might change things, might not. But it's a fun experiment to try anyway. Using a custom middleware to override the path due to https://github.com/plausible/analytics/pull/340
This commit is contained in:
parent
6c27401cd5
commit
a81e2793f8
2 changed files with 14 additions and 0 deletions
|
@ -17,6 +17,12 @@ services:
|
||||||
- traefik.http.services.plausible-plausible.loadbalancer.server.port=8000 # https://github.com/plausible/analytics/pull/237
|
- traefik.http.services.plausible-plausible.loadbalancer.server.port=8000 # https://github.com/plausible/analytics/pull/237
|
||||||
- traefik.http.routers.plausible.tls.certresolver=le
|
- traefik.http.routers.plausible.tls.certresolver=le
|
||||||
- traefik.http.routers.plausible.middlewares=compress@file
|
- traefik.http.routers.plausible.middlewares=compress@file
|
||||||
|
|
||||||
|
- traefik.http.routers.plausible-bare.rule=Host(`elbisualp.theorangeone.net`)
|
||||||
|
- traefik.http.routers.plausible-bare.tls.certresolver=le
|
||||||
|
- traefik.http.routers.plausible-bare.service=plausible-plausible
|
||||||
|
- traefik.http.middlewares.plausible-bare.replacepath.path=/js/plausible.js # https://github.com/plausible/analytics/pull/340
|
||||||
|
- traefik.http.routers.plausible-bare.middlewares=compress@file,plausible-bare
|
||||||
environment:
|
environment:
|
||||||
- SECRET_KEY_BASE={{ secret_key }}
|
- SECRET_KEY_BASE={{ secret_key }}
|
||||||
- SIGNING_SALT={{ signing_salt }}
|
- SIGNING_SALT={{ signing_salt }}
|
||||||
|
|
|
@ -141,6 +141,14 @@ resource "cloudflare_record" "theorangeonenet_plausible" {
|
||||||
ttl = 1
|
ttl = 1
|
||||||
}
|
}
|
||||||
|
|
||||||
|
resource "cloudflare_record" "theorangeonenet_plausible_bare" {
|
||||||
|
zone_id = cloudflare_zone.theorangeonenet.id
|
||||||
|
name = "elbisualp"
|
||||||
|
value = vultr_server.casey.main_ip
|
||||||
|
type = "A"
|
||||||
|
ttl = 1
|
||||||
|
}
|
||||||
|
|
||||||
resource "cloudflare_record" "theorangeonenet_gitlab_pages" {
|
resource "cloudflare_record" "theorangeonenet_gitlab_pages" {
|
||||||
zone_id = cloudflare_zone.theorangeonenet.id
|
zone_id = cloudflare_zone.theorangeonenet.id
|
||||||
name = "pages"
|
name = "pages"
|
||||||
|
|
Loading…
Reference in a new issue