www.git-ssl.site (676B)
1 server { 2 listen 443 ssl; 3 listen [::]:443 ssl; ## listen for ipv4; this line is default and implied 4 # listen [::]:80 default_server ipv6only=on; ## listen for ipv6 5 6 # Make site accessible from http://localhost/ 7 server_name www.git.taler.net; 8 9 include conf.d/talerssl; 10 11 location /index.cgi { 12 root /usr/share/gitweb/; 13 14 include fastcgi_params; 15 gzip off; 16 fastcgi_param SCRIPT_NAME $uri; 17 fastcgi_param GITWEB_CONFIG /etc/gitweb.conf; 18 fastcgi_pass unix:/var/run/fcgiwrap.socket; 19 } 20 21 location / { 22 root /usr/share/gitweb/; 23 index index.cgi; 24 } 25 }