summaryrefslogtreecommitdiff
path: root/etc/nginx/sites-enabled/git.site
diff options
context:
space:
mode:
Diffstat (limited to 'etc/nginx/sites-enabled/git.site')
-rw-r--r--etc/nginx/sites-enabled/git.site12
1 files changed, 12 insertions, 0 deletions
diff --git a/etc/nginx/sites-enabled/git.site b/etc/nginx/sites-enabled/git.site
new file mode 100644
index 0000000..c194202
--- /dev/null
+++ b/etc/nginx/sites-enabled/git.site
@@ -0,0 +1,12 @@
+server {
+ listen 80; ## listen for ipv4; this line is default and implied
+ # listen [::]:80 default_server ipv6only=on; ## listen for ipv6
+
+ root /var/git;
+ # Make site accessible from http://localhost/
+ server_name git.taler.net;
+
+ location / {
+ autoindex off;
+ }
+}