I have a reverse proxy HTTPd (EC2) and Elastic Search Service (AWS) and a i want to redirect my requests (without simple rewriting the urls because Elasticsearch service is not accessible from outside) from Httpd to ElasticSearch service
So configured my Httpd like this :
ProxyPass /elasticsearch/ https://MyelasticSearchLongUrl.es.amazonaws.com ProxyPassReverse /elasticsearch/ https://MyelasticSearchLongUrl.es.amazonaws.com but the problem is my httpd generate an error:
ProxyPass worker hostname (MyelasticSearchLongUrl.es.amazonaws.com ) too long httpd.service: main process exited, code=exited, status=1/FAILURE kill: cannot find process "" httpd.service: control process exited, code=exited status=1 Failed to start The Apache HTTP Server. Unit httpd.service entered failed state. httpd.service failed.
Is there a solution to change the httpd configuration specially URL limit length ?