aboutsummaryrefslogtreecommitdiffstats
path: root/webstats/readme.org
diff options
context:
space:
mode:
authorOscar Najera <hi@oscarnajera.com>2025-02-09 18:50:27 +0100
committerOscar Najera <hi@oscarnajera.com>2025-02-09 18:50:27 +0100
commit87ef3a1635aae064bfcfac0be532b9904bdd927d (patch)
tree574c4f5f96989d10d7776c37b5b3c08b82b7db69 /webstats/readme.org
parent346dcbecc20802f7bc86b5a8c4ca2d1c4bed37c0 (diff)
downloadscratch-87ef3a1635aae064bfcfac0be532b9904bdd927d.tar.gz
scratch-87ef3a1635aae064bfcfac0be532b9904bdd927d.tar.bz2
scratch-87ef3a1635aae064bfcfac0be532b9904bdd927d.zip
[stats] put behind lighttpd proxy
Diffstat (limited to 'webstats/readme.org')
-rw-r--r--webstats/readme.org20
1 files changed, 20 insertions, 0 deletions
diff --git a/webstats/readme.org b/webstats/readme.org
new file mode 100644
index 0000000..d3908e9
--- /dev/null
+++ b/webstats/readme.org
@@ -0,0 +1,20 @@
+#+title: Track website visit statistics
+
+* Setup lighttpd
+On the config file append the proxy to the running lisp server
+#+begin_src conf
+server.modules += ( "mod_proxy" )
+
+$HTTP["url"] =~ "^/stats/" {
+ proxy.server = ("" =>
+ ( "hunchentoot" =>
+ ( "host" => "127.0.0.1",
+ "port" => 4252 )
+ )
+ )
+ proxy.header = (
+ "map-urlpath" => ( "/stats" => "" )
+ )
+
+}
+#+end_src