# Custom 403 Page error_page 403 @fetch403; location @fetch403 { root /etc/nginx/errors; try_files /403.html =404; } # Custom 404 Page error_page 404 @fetch404; location @fetch404 { root /etc/nginx/errors; try_files /404.html =404; } # Custom 550 Page error_page 550 @fetch550; location @fetch550 { root /etc/nginx/errors; try_files /550.html =404; }