location /favicon.ico {
    log_not_found off;
    access_log    off;
}

location /robots.txt {
    log_not_found off;
    access_log    off;
}

location /nginx_status {
    stub_status on;
    access_log off;
    allow 127.0.0.1;
    deny all;
}

error_page 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 421 422 423 424 425 426 428 429 431 451 500 501 502 503 504 505 506 507 508 510 511 /error.html;

location /error.html {
    ssi on;
    auth_basic off;
    root /var/www/html/;
    internal;
}

location /img/nginx-error-bg.jpg {
    alias /var/www/html/img/nginx-error-bg.jpg;
}
