Questions tagged [nginx-ingress]

ingress-nginx is an NGINX controller built around the Kubernetes Ingress resource that uses ConfigMap to store the NGINX configuration.

2425 questions
0
votes
1 answer

How to properly use controller.affinity annotation?

Does anyone know how to properly use controller.affinity annotation? In the doc we can see only annotation name w/o type or any example. https://docs.nginx.com/nginx-ingress-controller/installation/installation-with-helm/ I was trying to use it as I…
Denis
  • 81
  • 2
  • 7
0
votes
1 answer

How to make nginx ingress controller serve a custom maintenance page for 502/503 service unavailable error?

How to make the Nginx ingress controller serve a custom maintenance page for the 502/503 service unavailable error? Our application on the k8s cluster sometimes goes down due to some connection errors, at that time Nginx ingress controller throws…
devops-admin
  • 1,447
  • 1
  • 15
  • 26
0
votes
1 answer

How to configure nginx ingress rules without "host"

I have installed nginx ingress in kubernetes from official documenation. But while configuring the rules without mentioning the "host". I am getting the below erros. error ++++++ spec.rules[0].host: Required value Is it possible to configure it…
0
votes
0 answers

Ingress Nginx Controller subpath to subpages on my website

I have a problem with configuring ingress nginx controller. When I go to test.com/app1, my page appears with a link to the /public subpage (it should be test.com/app1/public), but when I click on the link it takes me to test.com/public. What should…
QQme
  • 1
0
votes
1 answer

I am trying to configure Nginx ingress controller on AKS without HELM, I am using manifest files from official nginx website

apiVersion: v1 kind: Namespace metadata: name: nginx-ingress --- apiVersion: v1 kind: ServiceAccount metadata: name: nginx-ingress namespace: nginx-ingress kind: ClusterRole apiVersion: rbac.authorization.k8s.io/v1 metadata: name:…
user19638380
0
votes
0 answers

Nginx Ingress Controller converting JSON request into XML

Client sends a HTTP POST request with JSON payload and content type "application/json". Backend REST service that is proxied by NGINX (via Ingress Controller in k8s) receives the request with content type "application/xml" and the JSON is converted…
SRH LABS
  • 373
  • 1
  • 2
  • 15
0
votes
0 answers

Nginx ingress does not able to get real IP with Cloudflare DNS (No proxy)

I am trying to get the Client IP (or Real IP). I am using a third tier cloud provider with basic services and there is a LB in that. My current nginx-ingress controller config is: data: allow-snippet-annotations: "true" ssl-protocols: "TLSv1…
0
votes
0 answers

nginx ingress rewrite target in reverse

I'm running zoneminder as a pod that responds to the path "/zm." Right now, if I hit the main URL, I get a default index page, and I have to manually add the /zm path to my URL. I would like to basically like to add "/zm" to the path for a backend…
0
votes
1 answer

Ingress nginx: 413 Request Entity Too Large

I use ingress-nginx with Helm Chart. I used to have the problem, that when I would upload a file ZIP (400MB) that I would get the error 413 Request Entity Too Large nginx. So I changed the proxy-body-size value in my values.yaml file to…
0
votes
1 answer

How to set max_conn for nginx ingress?

I have Nginx Ingress Controller which is deployed via official Helm chart, in the doc I saw that I can set max_conn parameter, but I didn't get how to set it. I want to set it to 2, so that maximum of 2 clients could connect to my services. How do I…
0
votes
0 answers

Kubernetes NGINX Ingress Exact pathType not working as expected, what can I do to achieve what I want?

I am running Kubernetes locally, on Windows, where I have the following Ingress: apiVersion: networking.k8s.io/v1 kind: Ingress metadata: name: ingress-sample-service annotations: kubernetes.io/ingress.class: nginx spec: rules: - host:…
0
votes
2 answers

How to access kubernetes dashboard via cloud Nginx ingress

I am using OCI cloud and OKE kubernetes cluster. I have deployed kubernetes dashboard and want it to expose using public IP via ingress layer. I have Nginx ingress configured already with oracle cloud load balancer for other application and is…
0
votes
1 answer

Nginx redirecting traffic to a reserve server

I have an Nginx server. Which distributes traffic to multiple servers, below is the config: location /rc/temp/ { proxy_pass https://rc1-test.jer.com; } location /rc/ { if…
0
votes
0 answers

Kubernetes - Block direct IP access to service

I have an nginx app set up as load balancer in my k8s infrastructure and I want to block access to it by server ip. I have assigned to it a public IP address that I used to set up all the DNS entries that I needed, but the service is still…
0
votes
1 answer

I have two react applications under the same host from nginx ingress controller

I am having an ingress resource as below apiVersion: networking.k8s.io/v1 kind: Ingress metadata: name: ingress-staging namespace: staging annotations: kubernetes.io/ingress.class: "nginx" cert-manager.io/issuer:…
1 2 3
99
100