# managed by Ansible

server "{{ cgit__domain_name }}" {
	listen on {{ cgit__listen_address }} port {{ cgit__listen_port }}

	# cgit
	location "/cgit.*" {
		root "/cgit"
		no fastcgi
	}

	# fastcgi
	root "/cgi-bin/cgit.cgi"
	fastcgi socket "/run/slowcgi.sock"
}