# 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>

# 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>
本文标题:haproxy 自定义503页面
本文链接:https://www.haomeiwen.com/subject/ashscktx.html
网友评论