2014/10/16 19:42:57 [error] 10209#0: *1 open() "/Users/username/Dev/www/quiz/public/quiz/6" failed (2: No such file or directory), client: 127.0.0.1, server: quiz, request: "GET /quiz/6 HTTP/1.1", host: "quiz", referrer: "http://quiz/"
2014/10/16 19:42:57 [error] 10209#0: *1 open() "/Users/username/Dev/www/quiz/public404" failed (2: No such file or directory), client: 127.0.0.1, server: quiz, request: "GET /quiz/6 HTTP/1.1", host: "quiz", referrer: "http://quiz/"
server {
listen 80;
root /Users/username/Dev/www/quiz/public;
index index.php;
server_name quiz;
error_page 404 = /404.php;
error_page 403 = /404.php;
location / {
include /usr/local/etc/nginx/conf.d/php-fpm;
}
location = /info {
allow 127.0.0.1;
deny all;
rewrite (.*) /.info.php;
}
error_page 404 /404.html;
error_page 403 /403.html;
}