Hi,
I'm trying to use nginx to have a better looking domain name for elastic cloud,
APM reverse proxy works so far, however the elasticsearch endpoint wont work, any ideas?
I've also tried everything listed here Nginx proxy for Elastic Cloud instance - Elastic Stack / Elasticsearch - Discuss the Elastic Stack
location / {
proxy_pass https://uuid.apm.westeurope.azure.elastic-cloud.com/;
proxy_set_header X-Real-IP $remote_addr;
}
location /es/ {
proxy_pass https://uuid.westeurope.azure.elastic-cloud.com:9243/;
proxy_pass_request_headers on;
proxy_set_header Host uuid.westeurope.azure.elastic-cloud.com:9243;
}
location /apm/ {
proxy_pass https://uuid.apm.westeurope.azure.elastic-cloud.com/;
proxy_set_header X-Real-IP $remote_addr;
}