A caddy plugin to get JA3 fingerprints from requests as a header.
xcaddy build \
--with github.com/rushiiMachine/caddy-ja3
Note that this enforces HTTPS (TLS).
You can add a http_redirect to automatically redirect http
-> https
like shown below.
{
order ja3 before respond # change this to whatever idk
servers {
listener_wrappers {
http_redirect
ja3
tls
}
}
}
localhost:2020 {
ja3
tls internal # Configure your tls however you want
respond "Your JA3: {header.ja3}" # JA3 is added to the request as a header ("ja3")
}
I am not guaranteeing you 100% uptime
This should work but feel free to file an issue