Hello,
The reason im creating this task is because i was trying to integrate with librenms but could not. Much back and forth with the devs on discord led me to think that i need to better configure my graylog/nginx setup, and they agreed.
i’ve had this setup running fine with no issues, aside from api button not working (Accessing API button)
So configs: (running 2.4.3)
This is how i have it configured.
rest_listen_uri = http://127.0.0.1:9000/graylog/api/
#rest_transport_uri = http://192.168.1.1:9000/api/
web_listen_uri = http://127.0.0.1:9000/graylog
#web_endpoint_uri =
#http_proxy_uri =
Using nginx to access through web browser (https://<routable-fqdn>/graylog) works
location /graylog {
proxy_set_header Host $http_host;
proxy_set_header X-Forwarded-Host $host;
proxy_set_header X-Forwarded-Server $host;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Graylog-Server-URL https://$server_name/graylog/api;
proxy_pass http://127.0.0.1:9000/graylog;
}
I am using nginx as the sole proxy to access graylog. I dont have any of the web_enable_tls,rest_enable_tls etc settings enabled.
Any input as to how to better configure graylog with sub-directory would be appreciated.
Thank you,
dave