November 17, 2019, 2:02pm
I got ngnix configured for reverse proxy.
It is okay to access
But i am seeing following url
API Browser of node is 172.23.0.1:9000/api.
Cluster Global API Browser is example.io/graylog/api/graylog/api-browser/global/index.html.
Is there anything wrong?
November 17, 2019, 2:03pm
for api, i could curl
however the node REST API is showing 172.23.0.1.
November 18, 2019, 7:28am
the API Browser is the Graylog server
http_publish_uri what is the endpoint for each Graylog node and that is unique per Node. In a multi Cluster environment that URI is used to communicate in the cluster between each graylog node. This way you can connect to each nodes individual api browser
The Global API Browser is taking the
http_external_uri as source - That is the point where your browser is able to reach Graylog (cluster) and what will connect to the API Browser - not one specific.
As this is a new feature the documentation is not (yet) reflecting that.
November 18, 2019, 8:43am
I have only one node running on the host
example.io and I have the following configs in server.conf.
http_bind_address = 0.0.0.0:9000
http_external_uri = http://example.io/graylog/
Is there anything I could do to have the correct url for API Browser and Global API Browser?
November 18, 2019, 8:50am
you can always type in the URL yourself - regarding the button I guess you hit a bug with the global api browser.
would you please open a bug report over at Github?
November 18, 2019, 9:39am
Do you mind sharing your NGINX config?
That would allow us to check in detail.
November 18, 2019, 11:21am
proxy_set_header X-Graylog-Server-URL http://$server_name/graylog/;
rewrite ^/graylog/(.*)$ /$1 break;
add_header X-Frame-Options SAMEORIGIN;
add_header X-Content-Type-Options nosniff;
add_header X-XSS-Protection "1; mode=block";
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto $scheme;
proxy_set_header Host $host;
proxy_set_header X-Forwarded-Host $host;
proxy_set_header X-Forwarded-Server $host;
proxy_set_header X-Forwarded-Port $server_port;
December 2, 2019, 11:27am
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.