Accessing API button

(Dave) #1


Trying to accomplish what this guy did here but failed :frowning:

This is how i have it configured.

rest_listen_uri =
#rest_transport_uri =
web_listen_uri =
#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;

With the above setup the API button goes to the loopback address,, 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!

Graylog behind nginx sub directory how-to configure
(Dave) #2

When i make the following changes, my graylog-server dies:

rest_listen_uri =
rest_transport_uri = http://<fqdn>:9000/graylog/api/

Not sure why

Note: graylog and elasticsearch all live in the same box

(Jan Doberstein) #3


that is a known issue:

(Dave) #4


Thank you for replying!
That ticket is quite old.
I’ll reply on that ticket, hopefully get some traction.

(system) closed #5

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