Hi Tony,

please refer 
to 
http://docs.graylog.org/en/2.1/pages/configuration/web_interface.html#apache-httpd-2-x
 
for a working example setup with Graylog and Apache httpd 2.2 or 2.4 as 
reverse proxy.

Cheers,
Jochen

On Friday, 21 October 2016 14:56:19 UTC+2, Tony wrote:
>
> Hi Jochen,
> I have the same problem:
> Error - the server returned: 404 - cannot POST 
> https://graylog.example.com/system/sessions (404)
>
> I use a proxypass rule for https. My conf is:
> server.conf
>
> rest_listen_uri = http://graylog01.internal.net:12900/
>
> #rest_transport_uri = http://graylog.example.com:12900/
>
> web_listen_uri = http://graylog01.internal.net:9000/
>
> web_endpoint_uri = https://graylog.example.com:9000/api/
>
>
> SSL conf file
>
> <VirtualHost *:443>
>
>
>         RequestHeader set X-Forwarded-Proto "https"
>
>         RequestHeader set X-Forwarded-Port "443"
>
>
>         RequestHeader set X-Graylog-Server-URL "
> https://graylog.example.com:12900/";
>
>
>         ServerName graylog.example.com
>
>
>         ProxyPass / http://172.31.20.211:9000/
>
>         ProxyPassReverse / http://172.31.20.211:9000/
>
>         ProxyRequests Off
>
>
>         SSLEngine on
>
>         SSLCertificateFile /etc/ssl/certs/example.com.crt
>
>         SSLCertificateKeyFile /etc/ssl/private/example.com.key
>
>         SSLCertificateChainFile /etc/ssl/certs/gd_bundle-g2-g1.crt
>
>
>         <Proxy http://172.31.20.211:9000/>
>
>                 Order deny,allow
>
>                 Allow from all
>
>         </Proxy>
>
>
> </VirtualHost> 
>
>
> Any idea how to fix it?
>
>
> Thanks
>
>
> Tony
>

-- 
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/de26bb2b-6aa9-4adc-bec0-f43bc49b3aa5%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to