• overtinker@lemmy.world
    link
    fedilink
    English
    arrow-up
    1
    ·
    2 years ago

    I love that about Caddy as well, it just works!

    Do you know of any tool that can help me look at overall traffic that goes through it?

    Right now I am using Mullvad through gluetun to essentially route traffic to my services without opening ports on my router and I am just curious what sort of traffic is hitting my server seeing how (I hope) isolated my address seems to be (servicename.mydomain.tld:<random port recieved from mullvad port forwarding>)

    I will soon migrate this reverse proxy setup to a VPS since Mullvad will be sunsetting their port forwarding feature soon but I am still in need of a tool that can show me what sort of traffic goes through Caddy. Something like countries, IPs and services that they are trying to access as well as the request types.

    • Perhyte@lemmy.world
      link
      fedilink
      English
      arrow-up
      1
      ·
      edit-2
      2 years ago

      Do you know of any tool that can help me look at overall traffic that goes through it?

      I haven’t looked in detail at the Monitoring Caddy documentation page and haven’t used this myself, but apparently it can be configured to emit a bunch of metrics in Prometheus format.

      Something like countries, IPs and services that they are trying to access as well as the request types.

      Oh, for that kind of thing you’d need to parse the log files instead. GoAccess maybe?