I have this nginx configuration that is not matching the location /elastic for some reason.
I tested it at https://nginx.viraptor.info and it says it should match