2:15baf587baa9
Anton Shestakov <av6@dwimlabs.net>, Tue, 17 Jul 2018 13:42:17 +0800
hgweb: comment out max-requests for now

previous change 1:98d18b9ebcb4

roles/hgweb/templates/etc/lighttpd/conf-available/hgweb.conf

Permissions: -rw-r--r--

Other formats: Feeds:
server.modules += (
# "mod_redirect",
# "mod_alias",
"mod_proxy",
)
$HTTP["host"] == "{{ hgweb_subdomain }}.{{ hostname }}" {
server.document-root = "/home/{{ hgweb_user }}/hg/mercurial/templates/"
$HTTP["url"] !~ "^/static/|^/robots.txt$" {
# mod_proxy uses "host" instead of "socket", because of course
proxy.server = ( "" => (( "host" => "/home/{{ hgweb_user }}/hgwebfiles/socket" )) )
}
alias.url = (
"/robots.txt" => "/home/{{ hgweb_user }}/hgwebfiles/robots.txt"
)
url.redirect-code = 301
url.redirect = (
"/favicon.ico" => "/static/hgicon.png"
)
}