Skip to content

Commit

Permalink
Force UTF-8 charset in nginx error pages
Browse files Browse the repository at this point in the history
Prepare nginx error pages for automated translation where English
version used as base template for other locales
  • Loading branch information
abbat committed Jun 20, 2013
1 parent a546472 commit 007badf
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions public/403.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
<html>
<head>
<title>You can't do that (403)</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<style type="text/css">
body { background-color: #fff; color: #666; text-align: center; font-family: arial, sans-serif; }
div.dialog {
Expand Down
1 change: 1 addition & 0 deletions public/422.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
<html>
<head>
<title>The change you wanted was rejected (422)</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<style type="text/css">
body { background-color: #fff; color: #666; text-align: center; font-family: arial, sans-serif; }
div.dialog {
Expand Down
1 change: 1 addition & 0 deletions public/500.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
<html>
<head>
<title>Oops - Error 500</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body>
<h1>Oops</h1>
Expand Down
1 change: 1 addition & 0 deletions public/503.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
<html>
<head>
<title>Site Is Undergoing Maintenance - Discourse.org</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body>
<h1>We are currently down for planned site maintenance</h1>
Expand Down

0 comments on commit 007badf

Please sign in to comment.