haproxy 自定义503页面

2020-07-09  本文已影响0人  _fishman
# 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
上一篇 下一篇

猜你喜欢

热点阅读