Skip to content

Instantly share code, notes, and snippets.

@ryanburnette
Created August 7, 2020 13:13
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ryanburnette/7eb7b0076a1384968972e1f053caf42a to your computer and use it in GitHub Desktop.
Save ryanburnette/7eb7b0076a1384968972e1f053caf42a to your computer and use it in GitHub Desktop.
caddy snippet reverse_proxy_insecure
(reverse_proxy_insecure) {
reverse_proxy * {
to {args.0}
transport http {
tls
tls_insecure_skip_verify
read_buffer 8192
}
}
}
@ryanburnette
Copy link
Author

ryanburnette commented Aug 7, 2020

usage:

import reverse_proxy_insecure https://192.168.1.2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment