Skip to content

Instantly share code, notes, and snippets.

@tomhermann
Created February 24, 2012 02:38
Show Gist options
  • Save tomhermann/1896804 to your computer and use it in GitHub Desktop.
Save tomhermann/1896804 to your computer and use it in GitHub Desktop.
lighttpd proxy to tomcat
# use with mod_proxy
$HTTP["host"] =~ "(^|\.)server\.com$" {
proxy.server = (
"" => (
"tomcat" => (
"host" => "127.0.0.1",
"port" => 8080,
"fix-redirects" => 1
)
)
)
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment