Don't like ads? PRO users don't see any ads ;-)
Guest

Untitled

By: a guest on Jul 10th, 2012  |  syntax: None  |  size: 0.43 KB  |  hits: 14  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. server {
  2.         listen 80;
  3.         server_name ip.address;
  4.  
  5.         location / {
  6.                 root /home/admin/www/ein;
  7.                 index index.php index.html index.htm;
  8.                 access_log  /etc/nginx/logs/default.log  gzip;
  9.         }
  10.  
  11.         location /awstats/ {
  12.                 root /var/www/awstats/example.com;
  13.                 index awstats.example.com.html;
  14.                 access_log off;
  15.         }
  16. }