Skip to content

Instantly share code, notes, and snippets.

@adamvduke
Created February 26, 2016 16:05
Show Gist options
  • Save adamvduke/b69b13ad8e4a69e5d665 to your computer and use it in GitHub Desktop.
Save adamvduke/b69b13ad8e4a69e5d665 to your computer and use it in GitHub Desktop.
Serve rails with TLS using caddyserver
example.com {
root /srv/example.com/public
tls admin@example.com
proxy / localhost:5000 {
except /assets
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment