I build caddy with:
xcaddy build --with GitHub - caddyserver/ntlm-transport: NTLM reverse proxy transport module for Caddy
It fails to proxy requests to an Exchange server (using NTLM), and I’m trying to figure out why. From caddy logs I found that autodiscover kept return 401 error.
I first need to know whether ntlm module is actually enabled, anything wrong with my configuration? And how can I get logs from this ntlm module?
autodiscover.xx.com {
tls ./certs/server.cert ./certs/server.key
reverse_proxy https://IP {
transport http_ntlm {
tls_insecure_skip_verify
}
}
log {
output file logs/autodiscover.log {
roll_size 100MB
roll_keep 10
roll_keep_for 7d
roll_local_time
}
format json {
time_format iso8601
}
}
}