summaryrefslogtreecommitdiff
path: root/etc/nginx/sites-enabled/www.git.site
blob: 54f932f7f812c775d6d568704e37a91ff84606fc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
server {
	listen   80; ## listen for ipv4; this line is default and implied
	# listen   [::]:80 default_server ipv6only=on; ## listen for ipv6

	# Make site accessible from http://localhost/
	server_name www.git.taler.net;
	

	location /index.cgi {
            root /usr/share/gitweb/;

            include fastcgi_params;
            gzip off;
	    fastcgi_param SCRIPT_NAME $uri;
            fastcgi_param   GITWEB_CONFIG  /etc/gitweb.conf;
            fastcgi_pass    unix:/var/run/fcgiwrap.socket;
	}
	
        location / {
            root /usr/share/gitweb/;
            index index.cgi;
        }
}