Thanks for helping out, i got it working now, im not using ssl, this nginx 
configuration works for me

    server {
      listen 80;
      location / {
        proxy_set_header    X-Forwarded-For $proxy_add_x_forwarded_for;
        proxy_set_header    Host $http_host;
        proxy_set_header    X-Graylog-Server-URL 
http://my_graylog_server_ip_address/api;
        proxy_pass http://localhost:9000/;
      }
      location /api/
      {
        proxy_set_header    X-Forwarded-For $proxy_add_x_forwarded_for;
        proxy_set_header    Host $http_host;
        proxy_pass      http://localhost:12900/;
      }
    }





On Thursday, April 28, 2016 at 8:34:04 AM UTC+1, Jochen Schalanda wrote:
>
> Hi,
>
> starting with Graylog 2.0.0, the web interface has been merged into the 
> server component and is a single-page application directly communicating 
> with the Graylog REST API. Thus, your client (i. e. web browser) must be 
> able to communicate with the Graylog REST API, which isn't possible with 
> the listener being bound to the loopback interface on 
> http://127.0.0.1:12900/ in your case.
>
> Please refer to 
> http://docs.graylog.org/en/2.0/pages/configuring_webif.html for 
> information how to setup the web interface in Graylog 2.0.0 and for working 
> example configurations for nginx and Apache httpd as reverse proxies.
>
> Cheers,
> Jochen
>
> On Thursday, 28 April 2016 02:26:54 UTC+2, [email protected] wrote:
>>
>> Hi I have issues with graylog 2.0 GA release, cant get reverse proxy 
>> working, i tried on ubuntu 14,04 rhel 6 and 7, always same error 
>>
>> my setup:
>> mongo 3.2
>> elastisearch 2.3.2
>> graylog 2.0 GA
>> nginx 1.9.5
>>
>> When im trying to access remote machine (same network), im getting this 
>> error in browser
>> If I access localhost directly on graylog machine it is working
>>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Graylog Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/graylog2/1a81181d-237c-436c-b352-180c6b5575d9%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to