The following points are different facets of the same thing:
[0]
+ "%s.html" % errorfile["http_status"])
The HAProxy configuration suggests to call the files *.http instead, since their content is printed to the socket verbatim (it's really a serialized http response, not an HTML file).
Great! +1
The following points are different facets of the same thing:
[0] "http_status" ])
+ "%s.html" % errorfile[
The HAProxy configuration suggests to call the files *.http instead, since their content is printed to the socket verbatim (it's really a serialized http response, not an HTML file).
[1] b64encode( '<html> </html> ')}]
+ errorfiles = [{'http_status': 403, 'path': '/path/403.html',
+ 'content': base64.
Similar comment, it would probably be good to use complete values to serve as an example, like: http:// paste.ubuntu. com/6567575/
[2]
+# content: base 64 content to serve as doc
Maybe rephrase to "base 64 content for HAproxy to print to socket"?