I have created the load balancer service in AKS, my container is working fine, when i am running by using docker run command. Here, are the screenshot of my kubernetes dashboard and service is also working but I am not able to access the ip.
Kubernetes service is up and running
I am using my own image ashishrajput194/finreg-frontend:v1 and it is having angular project and I am using nginx as web server. Here, are the config file of nginx.
map $sent_http_content_type $expires {
default off;
text/html epoch;
text/css max;
application/json max;
application/javascript max;
~image/ max;
}
server {
listen 80;
location / {
root /usr/share/nginx/html;
index index.html index.htm;
try_files $uri $uri/ /index.html =404;
}
expires $expires;
gzip on;
}
Please help to resolve my issue.