Skip to content

Instantly share code, notes, and snippets.

@resmo
Created May 26, 2022 10:16
Show Gist options
  • Save resmo/ffa5666cc183598b290c128be55c5d3e to your computer and use it in GitHub Desktop.
Save resmo/ffa5666cc183598b290c128be55c5d3e to your computer and use it in GitHub Desktop.
Caddyfile
{
# TLS Options
email youremail@example.com
# auto_https disable_redirects
}
# see https://caddyserver.com/docs/caddyfile/directives/reverse_proxy
www.example.com {
route {
reverse_proxy {
to localhost:8080
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment