Mohammed90 It’s an African company , unfortunately, the leader of the market. They do https but only in production not in sandbox.
Working solution.
momo.boursenumeriquedafrique.com, momo.boursenumeriquedafrique.com:80 {
tls {
issuer zerossl pdf {
dns_ttl 10m20s
}
}
@allowed_methods {
method POST PUT
}
reverse_proxy @allowed_methods localhost:3000
@disallowed_methods {
not method POST PUT
}
respond @disallowed_methods 405
log {
output file /var/log/caddy/boursenumerique.log
format json
}
}
They make the request especifically to the port 80 of the callback url i provide to them (momo.boursenumeriquedafrique.com).
i was not receiving anything because i didn’t handled this case, adding momo.boursenumeriquedafrique.com:80 make it work. in production they will probably send requests to url:443 … maybe i will be looking for a better solution.
In any case thank you very much with the guidance Mohammed90