- server {
- listen 80;
- server_name ip.address;
- location / {
- root /home/admin/www/ein;
- index index.php index.html index.htm;
- access_log /etc/nginx/logs/default.log gzip;
- }
- location /awstats/ {
- root /var/www/awstats/example.com;
- index awstats.example.com.html;
- access_log off;
- }
- }