Coder Social home page Coder Social logo

generic-http-error-pages's Introduction

generic-http-error-pages

Single Page HTTP Error Pages. These are simple pages that are standalone pages to be either hosted on webserver or off-network (AWS S3) when using AWS-ELB/ALB or AWS-Cloudfront.

##Example

###Nginx Self Hosted

  error_page 400 /400.html;
  error_page 401 /401.html;
  error_page 403 /403.html;
  error_page 404 /404.html;
  error_page 405 /405.html;
  error_page 406 /406.html;
  error_page 408 /407.html;
  error_page 409 /409.html;
  error_page 410 /410.html;
  error_page 413 /413.html;
  error_page 415 /415.html;
  error_page 417 /417.html;
  error_page 426 /426.html;
  error_page 500 501 502 503 504 505 /500.html;
  location /400.html { root /usr/share/nginx/html; internal; }
  location /401.html { root /usr/share/nginx/html; internal; }
  location /403.html { root /usr/share/nginx/html; internal; }
  location /404.html { root /usr/share/nginx/html; internal; }
  location /405.html { root /usr/share/nginx/html; internal; }
  location /406.html { root /usr/share/nginx/html; internal; }
  location /408.html { root /usr/share/nginx/html; internal; }
  location /409.html { root /usr/share/nginx/html; internal; }
  location /410.html { root /usr/share/nginx/html; internal; }
  location /413.html { root /usr/share/nginx/html; internal; }
  location /415.html { root /usr/share/nginx/html; internal; }
  location /417.html { root /usr/share/nginx/html; internal; }
  location /426.html { root /usr/share/nginx/html; internal; }
  location /500.html { root /usr/share/nginx/html; internal; }

Reference:

Hypertext Transfer Protocol -- HTTP/1.1 - Section 10

generic-http-error-pages's People

Contributors

ronaldpim avatar

Stargazers

Lukas Sekerak avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.