From 49992979705501d3797fb8595ee582a6bca338c2 Mon Sep 17 00:00:00 2001 From: blue Date: Sun, 17 Dec 2023 00:27:17 +0000 Subject: [PATCH] Add readme.md --- readme.md | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 readme.md diff --git a/readme.md b/readme.md new file mode 100644 index 0000000..05abfd9 --- /dev/null +++ b/readme.md @@ -0,0 +1,28 @@ +# Who Visited Me + +- I have another website aside from https://scholastia.xyz +- I was curious who visited me, so I logged the IP connections with Caddy, example below. +- By visiting, I mean who is crawling websites and hitting my domain name. +- Scholastia isn't logged. +- The either shows IPs raw or uses the geolocate website to show the location of the IP visits. +- Below is the caddyfile code. + +``` +website.com { + root * /path/ + file_server browse + encode gzip + basicauth /* { + fileshare password + } + log { + output file /path/ip.log { + roll_disabled + roll_keep_for 2160h + roll_size 100GB + } + } +} + +``` +