GrayLog Cluster behind https NGINX load balancer issue


(Khalique Zafar) #1

I am trying to create a graylog cluster and configuring NGINX https load balancer to access web-ui but I am getting this error when accessed using loadbalancer external IP https://192.168.80.200/

“We are experiencing problems connecting to the Graylog server running on http://192.168.80.102:9000/api/. Please verify that the server is healthy and working correctly.”

My setup configuration is as under:
3 x GrayLog Servers:
– gs01 192.168.80.101/24
– gs02 192.168.80.102/24
– gs03 192.168.80.103/24

1 x Load Balancer Using NGINX
– lb01: 192.168.80.100/24
192.168.80.200/24 (External IP address)

OS: RHEL 7

Also please note that without SSL over http load balancer below configuration is working fine.

Please assist me to resolve the issue.


(Jan Doberstein) #2

you should set your X-Graylog-Server-URL to the your loadbalancer ( include the protocol ) that if would look like this (or similar) in your nginx configuration.

X-Graylog-Server-URL https://$server_name/api;

please re-read http://docs.graylog.org/en/2.4/pages/configuration/web_interface.html#nginx to clarify


(system) #3

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.