I am attempting to reverse proxy one server that only serves HTTPS with a self signed certificate. There is no option to just have the server use HTTP.
The rest of the subdomains work as they are with no other configuration required.
What are the correct directives and syntax to reverse proxy this single server? Caddy v1 was able to use the insecure_skip_verify whereas now I am no longer able to do so. I have searched for four weeks without finding a full working example or a complete syntax guide for the Caddyfile.
Basically I expect Caddy2 to be able to insecurely interact with the backend for sub5.mydomain.cc and be able to reverse proxy as if it were a simple HTTP server. (Inclusive of grabbing ACME certs for the domain.)
4. Error messages and/or full log output:
2020/05/12 15:08:24.323 INFO using adjacent Caddyfile
reload: adapting config using caddyfile: Caddyfile:18: unrecognized directive: insecure_skip_verify