2011-08-01 9 views

答えて

2

errorfileキーワードは、このために、あなたの構成で使用することができる。

errorfile 503 /etc/haproxy/errors/503.http 

503.http何かのように:

HTTP/1.0 503 Service Unavailable^                      Cache-Control: no-cache 
Connection: close 
Content-Type: text/html 

<html><body><h1>503 Service Unavailable</h1> 
Sorry, no server is available to handle this request. 
</body></html> 
関連する問題