worker_processes  1;

events {
    worker_connections  1024;
}

http {
    include       mime.types;
    default_type  application/octet-stream;
    sendfile        on;
    keepalive_timeout  65;

    server {
        listen       80;
        server_name  localhost;
        root   /srv/www/htdocs;

        location ~ \.php$ {
            fastcgi_pass   unix:/var/run/php5.sock;
            fastcgi_index  index.php;
            include        fastcgi_params;
        }
    }
}