3:697ce0fdd884
Anton Shestakov <av6@dwimlabs.net>, Mon, 28 Sep 2020 11:12:42 +0800
playbook: update apt parameters

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"
)
}