diff --git a/ansible/roles/plausible/files/docker-compose.yml b/ansible/roles/plausible/files/docker-compose.yml index d677ad3..afb0b3a 100644 --- a/ansible/roles/plausible/files/docker-compose.yml +++ b/ansible/roles/plausible/files/docker-compose.yml @@ -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 diff --git a/ansible/roles/plausible/tasks/main.yml b/ansible/roles/plausible/tasks/main.yml index 0a85cb6..b1afd03 100644 --- a/ansible/roles/plausible/tasks/main.yml +++ b/ansible/roles/plausible/tasks/main.yml @@ -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; - }