I'm seeing the "http" directive not allowed error from the logs. I have mounted "nginx-basic.conf" file in "conf.d" folder as a config mount in Kubernetes.
nginx-basic.conf-
http {
server {
location / {
proxy_pass 35.239.243.201:9200;
proxy_redirect off;
}
}
}
I'm not sure what is wrong with this. Could someone help me with pointing it out?