Permalink
Browse files

nginx conf

  • Loading branch information...
1 parent e63d115 commit 155e18b596dc0df23bf9ffb9e5719591b88f27de @tlevine committed Mar 9, 2014
Showing with 35 additions and 0 deletions.
  1. +35 −0 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.
+ }
+ }
+}

0 comments on commit 155e18b

Please sign in to comment.