Skip to content

Instantly share code, notes, and snippets.

@tomdyson
Created January 11, 2010 14:50
Show Gist options
  • Select an option

  • Save tomdyson/274283 to your computer and use it in GitHub Desktop.

Select an option

Save tomdyson/274283 to your computer and use it in GitHub Desktop.
server {
listen 8000;
server_name localhost;
# access_log /var/log/nginx/lv.access.log;
location / {
root /usr/local/django/lv_core;
index index.html;
expires 7d;
gzip on;
gzip_proxied any;
gzip_http_version 1.1;
gzip_comp_level 5;
gzip_types text/plain text/html text/css application/x-javascript text/javascript;
gzip_vary on;
gzip_disable "MSIE [1-6]\.";
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment