Remove Plausible domain hack
All checks were successful
/ terraform (push) Successful in 1m22s
/ ansible (push) Successful in 2m37s

This commit is contained in:
Jake Howard 2024-06-25 08:36:55 +01:00
parent 6dd4e57591
commit 483833a678
Signed by: jake
GPG key ID: 57AFB45680EDD477
2 changed files with 1 additions and 5 deletions

View file

@ -19,7 +19,7 @@ services:
- DISABLE_REGISTRATION=true
- DISABLE_SUBSCRIPTION=true
- CLICKHOUSE_DATABASE_URL=http://clickhouse:8123/plausible
- BASE_URL=https://elbisualp.theorangeone.net
- BASE_URL=https://plausible.theorangeone.net
- GOOGLE_CLIENT_ID={{ vault_plausible_google_client_id }}
- GOOGLE_CLIENT_SECRET={{ vault_plausible_google_client_secret }}
- RELEASE_DISTRIBUTION=none

View file

@ -48,7 +48,3 @@
ssl_cert_path: /etc/letsencrypt/live/plausible.theorangeone.net
location_extra: |
rewrite ^/js/index.js$ /js/plausible.js last;
if ($host = "plausible.theorangeone.net") {
# HACK: https://github.com/plausible/analytics/discussions/4272
rewrite ^/ https://elbisualp.theorangeone.net redirect;
}