docs(deploy): document PV/UV stats and real client IP via nginx realip

This commit is contained in:
kairee committed 2026-11-01 15:40:22 +08:00
1 parent b215f8eb09
commit ff5e05998a
11 files changed
+308 -6

No files matched your search

+19 -1
View File
@@ -20,7 +20,25 @@
"host": "0.0.0.0",
"port": 8080,
"auth_token": "replace-with-a-long-random-token",
"public_base_url": ""
"public_base_url": "",
"track": {
"enabled": true,
"header_order": ["X-Real-IP", "X-Forwarded-For"],
"trusted_proxies": [
"127.0.0.0/8",
"::1/128",
"10.0.0.0/8",
"172.16.0.0/12",
"192.168.0.0/16",
"169.254.0.0/16",
"fc00::/7",
"fe80::/10"
],
"count_bots": false,
"flush_seconds": 60,
"keep_days": 180,
"max_hits_per_ip_path_per_day": 0
}
},
"storage": {
"database_path": "/data/app.db",