Skip to content

Instantly share code, notes, and snippets.

@jams008
Created May 20, 2020 02:28

Revisions

  1. jams008 created this gist May 20, 2020.
    11 changes: 11 additions & 0 deletions error-400-500.conf
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,11 @@
    ## Error pages
    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 /40x.html;
    location = /40x.html {
    root /home/hipwee/public_html/hipwee.com/error;
    internal;
    }
    error_page 500 501 502 503 504 505 506 507 508 510 511 /50x.html;
    location = /50x.html {
    root /home/hipwee/public_html/hipwee.com/error;
    internal;
    }