![]() ![]() You can keep your haproxy config updated with cron job like one presented below: Server proxy2 :22222 ssl sni str() verify required verifyhost ca-file /etc/ssl/certs/ca-bundle.crt check Server proxy1 :22222 ssl sni str() verify required verifyhost ca-file /etc/ssl/certs/ca-bundle.crt check Server proxy0 :22222 ssl sni str() verify required verifyhost ca-file /etc/ssl/certs/ca-bundle.crt check Option httpchk CONNECT "HTTP/1.1\r\nProxy-Authorization: basic dXNlci11dWlkLWU0ODA5ODVlOGQ0NzRkNGM5ODk0MjlmMzk0ZjY4ZjliOmZkODdhNDU4NGYwMQ=" Http-request add-header Proxy-Authorization "basic dXNlci11dWlkLWU0ODA5ODVlOGQ0NzRkNGM5ODk0MjlmMzk0ZjY4ZjliOmZkODdhNDU4NGYwMQ=" Http-request set-query % if bt_announce port0 16:28:32 INFO MAIN: Retrieving session key. Alive proxies determined by periodic health checks with an authenticated CONNECT request.Įxample of produced config with default template: Proxy connections forwarded via verified TLS connections to first alive upstream proxy. If this variable met in template line, given line yielded for each proxy in listĭefault template produces configuration providing plain HTTP proxy without authentication on local port 8080. ![]() Useful for producing names of servers in haproxy backend section.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |