summaryrefslogtreecommitdiff
path: root/etc/nginx/sites-enabled/www.git.site
diff options
context:
space:
mode:
Diffstat (limited to 'etc/nginx/sites-enabled/www.git.site')
-rw-r--r--etc/nginx/sites-enabled/www.git.site23
1 files changed, 23 insertions, 0 deletions
diff --git a/etc/nginx/sites-enabled/www.git.site b/etc/nginx/sites-enabled/www.git.site
new file mode 100644
index 0000000..54f932f
--- /dev/null
+++ b/etc/nginx/sites-enabled/www.git.site
@@ -0,0 +1,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;
+ }
+}