Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

nginx conf

  • Loading branch information...
commit 155e18b596dc0df23bf9ffb9e5719591b88f27de 1 parent e63d115
@tlevine authored
Showing with 35 additions and 0 deletions.
  1. +35 −0 nsa-debian/etc/nginx/nginx.conf
View
35 nsa-debian/etc/nginx/nginx.conf
@@ -0,0 +1,35 @@
+user www-data;
+worker_processes 1;
+pid /run/nginx.pid;
+events {
+ worker_connections 768;
+}
+http {
+ include /etc/nginx/mime.types;
+ default_type application/octet-stream;
+
+ tcp_nopush on;
+ tcp_nodelay on;
+ types_hash_max_size 2048;
+ sendfile on;
+ gzip on;
+ gzip_disable "msie6";
+ keepalive_timeout 65;
+
+ access_log /var/log/nginx/access.log;
+ error_log /var/log/nginx/error.log;
+
+ server {
+ listen 80;
+ server_name git.thomaslevine.com;
+ location / {
+ root /home;
+ index index.html index.htm index.csv index;
+ autoindex on;
+ autoindex_exact_size off;
+ }
+ location ~^/[^/]*/.git/.* {
+ # Don't serve these tiny git files.
+ }
+ }
+}
Please sign in to comment.
Something went wrong with that request. Please try again.