Go to file
blue 4999297970 Add readme.md 2023-12-17 00:27:17 +00:00
readme.md Add readme.md 2023-12-17 00:27:17 +00:00

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
        }
                }
}