Anton Shestakov <av6@dwimlabs.net>, Mon, 28 Sep 2020 11:12:42 +0800
playbook: update apt parameters
roles/hgweb/templates/etc/lighttpd/conf-available/hgweb.conf
Permissions: -rw-r--r--
$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" )) )
"/robots.txt" => "/home/{{ hgweb_user }}/hgwebfiles/robots.txt"
"/favicon.ico" => "/static/hgicon.png"