テストの目的で、herokuのメンテナンスURLとしてURLhttp: //google.comを追加しました。メンテナンスモードをオンにして自分のページにアクセスしようとすると、Googleにリダイレクトされるのではなく、醜い応答が返されます。他の誰かがその問題を抱えていますか、それとも私は何かを得ませんか?
ところで:エラーURLへのリダイレクトは問題なく機能します。
これは私が応答として受け取るものです:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
<style type="text/css">
html, body, iframe { margin: 0; padding: 0; height: 100%; }
iframe { display: block; width: 100%; border: none; }
</style>
<title>Offline for Maintenance</title></head>
</head>
<body>
<iframe src="http://google.com">
<p>Application Error</p>
</iframe>
</body>
</html>