server {
        listen 80 default_server;
        root /home/judge/src/web;
        server_name _;
        index index.php;
        location / {
                try_files $uri $uri/ =404;
        }

        location ~ \.php$ {
                client_max_body_size 100M;
                fastcgi_index index.php;
                include fastcgi_params;
                fastcgi_param SERVER_NAME $http_host;
                fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
                #fastcgi_pass 127.0.0.1:9000;
				fastcgi_pass unix:/var/run/php5-fpm.sock;
        }
}