aboutsummaryrefslogtreecommitdiffstats
path: root/roles/cgit/templates/httpd.conf.j2
blob: 48f840d3dec3438b076099b5ca8fe223a72a8133 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
# 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"
}
remember that computers suck.