Hello!
Trying to accomplish what this guy did here but failed
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;
}
With the above setup the API button goes to the loopback address, http://127.0.0.1:9000/graylog/api/api-browser
, which makes sense since i dont have rest_transport_uri
set. Manually typing https://<routable-fqdn>/graylog/api/api-browser
works
Im sure itβs something very simple
Any input is appreciated!
Thank you!
dave