]> git.pld-linux.org Git - packages/nginx.git/blame - nginx-light.conf
Make the default configs work
[packages/nginx.git] / nginx-light.conf
CommitLineData
73ad0f62 1user nginx nginx;
73ad0f62 2error_log /var/log/nginx/nginx-light_error.log;
3pid /var/run/nginx-light.pid;
4
5events {
6 worker_connections 2048;
7 use epoll;
8}
9
10http {
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;
73ad0f62 18
19 server {
20 listen 80;
21 server_name localhost;
22 access_log /var/log/nginx/nginx-light_access.log main;
73ad0f62 23
24 location / {
25 autoindex on;
26 root /home/services/nginx/html;
27 index index.html index.htm index.php;
73ad0f62 28 }
29
36b3be34 30 include webapps.d/*.conf;
73ad0f62 31 }
32
36b3be34 33 include vhosts.d/*.conf;
73ad0f62 34}
This page took 0.02803 seconds and 4 git commands to generate.