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:
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
Apache/2.4.10 (Debian) Server at graylog.services.cordonweb.com Port 443
Except(Off) I connect well with the addresse to inform in "RequestHeader"
Thus here is the Apache configuration of my waiter(server):
<VirtualHost *:443> ServerName graylog.services.cordonweb.com ProxyRequests Off SSLEngine on SSLCertificateFile "/etc/graylog/certificat2/graylogcert.pem" SSLCertificateKeyFile "/etc/graylog/certificat2/graykey.pem" <Proxy *> Order deny,allow Allow from all </Proxy> <Location /> RequestHeader set X-Graylog-Server-URL "https://graylog.services.XXXXXXX.com/api/" ProxyPass http://127.0.0.1:9000/ ProxyPassReverse http://127.0.0.1:9000/ </Location> </VirtualHost>
Furthermore when I go to the logs of appache ( error.log ) here is the error message which I meet:
[Tue Apr 11 12:19:08.318976 2017] [proxy_http:error] [pid 3290:tid 140176919619328] (20014)Internal error: [client 184.108.40.206:59270] AH01102: error reading status line from remote server 127.0.0.1:9000 [Tue Apr 11 12:19:08.319004 2017] [proxy:error] [pid 3290:tid 140176919619328] [client 220.127.116.11:59270] AH00898: Error reading from remote server returned by /
Can anybody help me?