Remove Plausible domain hack
This commit is contained in:
parent
6dd4e57591
commit
483833a678
2 changed files with 1 additions and 5 deletions
|
@ -19,7 +19,7 @@ services:
|
||||||
- DISABLE_REGISTRATION=true
|
- DISABLE_REGISTRATION=true
|
||||||
- DISABLE_SUBSCRIPTION=true
|
- DISABLE_SUBSCRIPTION=true
|
||||||
- CLICKHOUSE_DATABASE_URL=http://clickhouse:8123/plausible
|
- 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_ID={{ vault_plausible_google_client_id }}
|
||||||
- GOOGLE_CLIENT_SECRET={{ vault_plausible_google_client_secret }}
|
- GOOGLE_CLIENT_SECRET={{ vault_plausible_google_client_secret }}
|
||||||
- RELEASE_DISTRIBUTION=none
|
- RELEASE_DISTRIBUTION=none
|
||||||
|
|
|
@ -48,7 +48,3 @@
|
||||||
ssl_cert_path: /etc/letsencrypt/live/plausible.theorangeone.net
|
ssl_cert_path: /etc/letsencrypt/live/plausible.theorangeone.net
|
||||||
location_extra: |
|
location_extra: |
|
||||||
rewrite ^/js/index.js$ /js/plausible.js last;
|
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;
|
|
||||||
}
|
|
||||||
|
|
Loading…
Reference in a new issue