nginx: error pages are now respond as json if accept header request it.
As a consequence, we can rely on them to display a correct information on user pages through angularJS.
This commit is contained in:
parent
cf290732dc
commit
63a55a8a0b
12 changed files with 103 additions and 27 deletions
|
|
@ -10,6 +10,11 @@
|
|||
<meta name="robots" content="all">
|
||||
<link href="/css/bootstrap.min.css" type="text/css" rel="stylesheet" media="screen">
|
||||
<link href="/css/fic.css" type="text/css" rel="stylesheet" media="screen">
|
||||
<style>
|
||||
.niceborder {
|
||||
border-bottom-color: #ee5f5b;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body class="bg-light">
|
||||
|
||||
|
|
@ -30,7 +35,7 @@
|
|||
</div>
|
||||
|
||||
<div class="container" style="margin-top:20px;">
|
||||
<div class="jumbotron">
|
||||
<div class="jumbotron niceborder">
|
||||
<h1>Requête trop grosse <small>Erreur 413</small></h1>
|
||||
<hr>
|
||||
<p class="lead">
|
||||
|
|
|
|||
Reference in a new issue