I contact you because I have a problem with Apache.
When I use Apache without http it works correctly but when that pass in http the following error appears:
Proxy Error
The proxy server received an invalid
response from an upstream server.
The proxy server could not handle the request GET /.
Reason: Error reading from remote server
For what I look has credit note it is to reach has the Web interface without putting the number of the port has every time of the blow I set up one put back proxy It is not that it is necessary to make?
HTTPS that I configured in graylog is functional. I have set up apache so that when I connect to the web interface I do not need to re-enter the port number each time.
Is setting up Apache useful?
Also if I use Apache, I do not need to reiseigner:
rest_tls_cert_file and rest_tls_key_file
Did I understand right ?
Je me suis rendu compte que câĂŠtait les paramètres ProxyPass et ProxyPassReverse, Je mis les deux paramètres suivent en https mais voici les erreur que jâobtient :
[Wed Apr 12 09:57:45.872297 2017] [ssl:error] [pid 3279:tid 140448123913984] [remote 127.0.0.1:9000] AH01961: SSL Proxy requested for graylog.services.XXXXXX.com:443 but not enabled [Hint: SSLProxyEngine]
[Wed Apr 12 09:57:45.872380 2017] [proxy:error] [pid 3279:tid 140448123913984] AH00961: HTTPS: failed to enable ssl support for 127.0.0.1:9000 (127.0.0.1)
In the Apache error.log file
I found the error, this is because of the Apache version
SSLEngine We are not correct, we must put SSlProxyEngine On
In addition, add â/â after Proxypass and ProxyPassReverse as below:
<VirtualHost *:443>
ServerName graylog.services.XXXX.com
ProxyRequests Off
SSLProxyEngine on
SSLCertificateFile "/etc/graylog/XXXX/graylogcert.pem"
SSLCertificateKeyFile "/etc/graylog/XXXXX/graykey.pem"
<Proxy *>
Order deny,allow
Allow from all
</Proxy>
RequestHeader set X-Graylog-Server-URL "https://graylog.XXXXXXX.XXXXXX.com/api/"
ProxyPass / https://graylog.services.XXXXXXX.com:9000/
ProxyPassReverse / https://graylog.services.XXXXX.com:9000/
</VirtualHost>
ProxyPass and ProxyPassReverse must also be set to HTTPS