Hello (again - posting a lot these days),
I’m not sure about the 3.0 docs regarding haproxy.
What I’m trying to do :
1/ set up a first configuration to use graylog in http through haproxy and test it
2/ use my cert and key generated by my own ca in haproxy
In the docs I can read :
option forwardfor http-request add-header X-Forwarded-Host %[req.hdr(host)] http-request add-header X-Forwarded-Server %[req.hdr(host)] http-request add-header X-Forwarded-Port %[dst_port] acl is_graylog hdr_dom(host) -i -m str graylog.example.org use_backend graylog if is_graylog
description The Graylog Web backend.
http-request set-header X-Graylog-Server-URL http://graylog.example.org/
server graylog_1 127.0.0.1:9000 maxconn 20 check
I can’t get it to work : apparently, you cannot use use-server without any condition. It’s mentioned in haproxy docs, and that is what syslog says to me.
It’s a bit tricky to use use graylog as its own CA, so I’d like to use haproxy. And also, I have my own certification authority and therefore would like to use it.
Am I doing this right ?