I am using Cloud Run as a proxy.
I am using NGINX image as a reverse proxy for my Kubernetes Services. Previously I was hitting my External Load Balancer IP. Now I want to hit my Internal Load Balancer IP with the same. I have created an Internal Load Balancer and set up my serverless VPC but while trying running my Cloud Run it is giving me 501 error.
My configuration for Docker file is below:
server {
listen 80;
location / {
proxy_pass [InternalIp];
}
}
nginx.conf file FROM nginx
COPY ./nginx.conf /etc/nginx/conf.d/default.conf
my Dockerfile.
Any help is appreciated.