coingate
All checks were successful
Deploy / build-deploy (push) Successful in 3m10s

This commit is contained in:
Jorijn van der Graaf 2026-08-13 23:34:19 +02:00
commit 70668af8f5
20 changed files with 2354 additions and 1048 deletions

View file

@ -27,9 +27,21 @@ STATE_DIR=/var/lib/goaccess
OUT_PUBLIC=/var/www/analytics/index.html
OUT_PRIVATE=/var/www/analytics-private/index.html
# Log lines whose URI matches this never enter the public tier. Extend it
# when the shop launches so order/payment URLs can never surface publicly.
CENSOR_RE='"uri":"/api'
# Log lines whose URI matches this never enter the public tier.
#
# /order MUST be here. An order token is not an identifier, it is the whole
# capability: /order/<token> is the buyer's status page and
# /order/<token>/invoice.md is their name, street, postal code and city. The
# public report lists requested paths (only the HOSTS and REFERRERS panels are
# suppressed, and --no-query-string does nothing for a token that lives in the
# PATH), so an uncensored public tier would have published a harvestable index
# of every buyer's address within an hour of the first sale.
#
# Filters apply at INGEST, so this must be correct BEFORE the shop opens.
# Should an order URL ever reach the public DB, changing this line is not
# enough — follow the re-filter procedure at the top of this file to rebuild
# from the retained raw logs.
CENSOR_RE='"uri":"/(api|order)'
# Serialize runs: a manual run racing the hourly timer once ingested the same
# rotated log twice (both processes passed the ledger check before either