Re: configuring lighttpd proxy for standalone roundup server
Dave Bender <[email protected]>
| Newsgroups | gmane.comp.bug-tracking.roundup.user |
|---|---|
| Message-ID | <CAETHaKqFFWfR4XC=ae-1ZFni9fzrqGwMy01=hfJXSSiAmn2tdA@mail.gmail.com> |
>
> Cool. Can you post your current lighttpd config and web setting?
> (Change out the host name and actual tracker name with 'tracker_name'
> if you want). I'll post it on the wiki to document configurations for
> less mainstream web servers.
# I create a hostname for each hosted site.
# proxy.server will allow matching of the leading path name and
forward the request to the appropriate roundup tracker
# I think multiple proxy.server entries can be used with += instead of =
# make sure the /prefix in the proxy.server entry matches your roundup
cmd line invocation
$HTTP["host"] =~ "(^|\.)example\.com$" {
#proxy.header = (
# "map-urlpath" => ( "/rr2/" => "/" )
#)
proxy.server = (
"/tracker1" => (("host" => "127.0.0.1", "port"
=> 10220))
)
server.document-root = "/home/example/www" # Project
specific pages, nothing fancy
server.errorlog = var.logdir +
"/example_err.log" # Error log for lighttpd proxy
accesslog.filename = var.logdir +
"/example_access.log" # Access log on the lighttpd side
ssl.pemfile = "/home/example/example_2023.pem" # So
people trust your site
}