Hello guys!

I'm working with Graylog 2.1 in my server, but i can't access the web 
interface. For the last two days i have been looking for answers without 
success. I started the server in debug mode and everything is working (in 
theory), but i can't access the 9000 port. I just don't understand what is 
happening. I tried to configure the apache virtualhost just like the docs 
example and there is no access change. Everything is configured just like 
the docs. The only difference here is that i'm using the server under a 
subdomain, not the ip. I need some help on this.

Apache VirtualHost
<VirtualHost *:80>
  ServerName hom.example

  DocumentRoot /var/www/www-root
  AddCharset UTF-8 .utf8
  ErrorLog /var/log/apache2/hom.error.log
  CustomLog /var/log/apache2/hom.access.log combined

  <Directory "/var/www/www-root">
    Options FollowSymLinks MultiViews
    AllowOverride All
    Require all granted
  </Directory>

    ProxyRequests Off
    <Proxy "*">
        Require all granted
    </Proxy>

    <Location "/graylog">
        RequestHeader set X-Graylog-Server-URL 
"http://hom.example/graylog/api/";
        ProxyPass http://127.0.0.1:9000/
        ProxyPassReverse http://127.0.0.1:9000/
    </Location>
</VirtualHost>

Graylog Config (Just what i changed many times)
rest_listen_uri = http://127.0.0.1:9000/api/
rest_transport_uri = http://127.0.0.1:12900
web_listen_uri = http://127.0.0.1:9000/
web_enable = true

The connection to mongodb is working fine, just like the connection to 
elasticsearch. In theory it should work but i can't access any configured 
uri.

There are several virtualhost in my server, and i don't have access to 
create a new subdomain, like graylog.mydomain. That's why i'm trying to 
configure it under http://hom.example/graylog or 
http://hom.example:9000/api/.

Sorry for my bad english, is just that i don't practice. Any help is 
welcome.

Thanks in advance.

-- 
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 graylog2+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/graylog2/af83666b-e597-42a7-b26c-9cb869afe902%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to