Rust server (axum) with server-side translations, OS-aware download buttons, /download/<platform> redirecting to the latest GitHub release asset and logging platform, version and geolocated region (no IP stored), password-protected /stats and /stats.csv. Docker compose setup behind nginx. Ten screenshots taken with new dev hooks (CP_FILTER, CP_PANE, CP_SORT, CP_BOARD). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
17 lines
561 B
Text
17 lines
561 B
Text
# Copy to .env and fill in. .env is not committed.
|
|
|
|
# Public address of the site (canonical links, sitemap, link previews).
|
|
SITE_URL=https://chesspenguin.example.org
|
|
# Port on 127.0.0.1 that nginx proxies to.
|
|
HOST_PORT=8080
|
|
# Time zone for "today" on /stats.
|
|
TZ=Europe/Moscow
|
|
|
|
# /stats and /stats.csv: basic auth. An empty password turns /stats off.
|
|
STATS_USER=admin
|
|
STATS_PASSWORD=
|
|
|
|
# Releases are taken from this GitHub repository.
|
|
GITHUB_REPO=vrubelroman/chessPenguin
|
|
# Take the visitor address from X-Forwarded-For / X-Real-IP (set by nginx).
|
|
TRUST_PROXY=1
|