this post was submitted on 10 Jun 2023
37 points (97.4% liked)

Self Hosted - Self-hosting your services.

11498 readers
1 users here now

A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don't control.

Rules

Important

Beginning of January 1st 2024 this rule WILL be enforced. Posts that are not tagged will be warned and if not fixed within 24h then removed!

Cross-posting

If you see a rule-breaker please DM the mods!

founded 3 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 3 points 1 year ago (3 children)

Caddy for general reverse proxy stuff, works like magic and makes certs, routing, etc just work.

I also have a lot of my stuff subsequently reverse proxied behind Authentik for anything that shouldn't be exposed to the public internet

[–] overtinker 1 points 1 year ago (2 children)

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:)

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 2 points 1 year ago* (last edited 1 year ago) (1 children)

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?

[–] overtinker 1 points 1 year ago

GoAccess sounds perfect, thank you! Exactly what I have been looking for!