# haproxy.cfg配置
errorfile 503 /etc/haproxy/errorfiles/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>
haproxy ------- 01
</body></html>
image.png
网友评论