]> git.pld-linux.org Git - packages/nginx.git/blob - nginx-light.conf
cleanup apache leftovers
[packages/nginx.git] / nginx-light.conf
1 user                    nginx nginx;
2 error_log               /var/log/nginx/nginx-light_error.log;
3 pid                     /var/run/nginx-light.pid;
4
5 events {
6         worker_connections      2048;
7         use epoll;
8 }
9
10 http {
11         include         /etc/nginx/mime.types;
12         default_type    application/octet-stream;
13
14         log_format      main    '$remote_addr - $remote_user [$time_local] $request '
15                                 '"$status" $body_bytes_sent "$http_referer" '
16                                 '"$http_user_agent" "$http_x_forwarded_for"';
17         access_log      /var/log/nginx/nginx-light_access.log   main;
18
19         server {
20                 listen          80;
21                 server_name     localhost;
22                 access_log      /var/log/nginx/nginx-light_access.log  main;
23
24                 location / {
25                         autoindex       on;
26                         root    /home/services/nginx/html;
27                         index   index.html index.htm index.php;
28                 }
29
30                 include webapps.d/*.conf;
31         }
32
33         include vhosts.d/*.conf;
34 }
This page took 0.516843 seconds and 3 git commands to generate.