How to ReverseProxy Wordpress at “/blog” from (sub-)domain

we have a website at https://www.example.com and want the blog(wordpress) to appear at https://www.example.com/blog but currently it is running on another server http://blog.example.com.. How to implement the above using caddy and let us know any change is required in wordpress settings.