aboutsummaryrefslogtreecommitdiffstats
path: root/roles/cgit/templates/cgit.httpd.conf.j2
blob: a8b470725397c49ed9a1b33ef77838950c3fc55d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17

# httpd ~~ /etc/httpd.d/cgit.conf"
# managed by Ansible

ext_ip="0.0.0.0"
server "cgit" {
	listen on $ext_ip port {{ cgit_port }}

	# serve cgit static files directly: cgit.css and cgit.png
	location "/cgit.*" {
		root "/cgit"
			no fastcgi	
	}
	# cgit CGI
	root "/cgi-bin/cgit.cgi"
	fastcgi socket "/run/slowcgi.sock"
}
remember that computers suck.