-
Notifications
You must be signed in to change notification settings - Fork 8.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[server-snippet]nginx: [emerg] duplicate location "/" in /tmp/nginx/nginx-cfg #8746
Comments
@liu-xuewen: This issue is currently awaiting triage. If Ingress contributors determines this is a relevant issue, they will accept it by applying the The Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
/remove-kind bug Try to post information asked in the template and provide details of what problem needs to be solved. |
Root directive support is removed in latest version |
yes. So this is expected behavior. I think we can close it |
/close |
@longwuyuan: Closing this issue. In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
So we can't even ever modify "location /" declarations for a specific already existing server block? I want to add (without malicious intent) declarations to that, and this is blocking me from doing it! I may have to spin up my own nginx pod just to get around this... There's no way to add/modify any declarations for "location /" in each server block hey? :( |
I am also curious about this. I am trying to modify the server-snippet for the ingress of one of my apps. Turns out I might have to go into the nginx.conf inside the nginx-controller pods to modify it (without persistence...). |
Perhaps you might more mean the "kind: Ingress" aspect? :) |
What happened:
What you expected to happen:
success
need add server-no-root-location to enable server-snippet to configure root location
NGINX Ingress controller version (exec into the pod and run nginx-ingress-controller --version.):
Kubernetes version (use
kubectl version
):Environment:
Cloud provider or hardware configuration:
OS (e.g. from /etc/os-release):
Kernel (e.g.
uname -a
):Install tools:
Please mention how/where was the cluster created like kubeadm/kops/minikube/kind etc.
Basic cluster related info:
kubectl version
kubectl get nodes -o wide
How was the ingress-nginx-controller installed:
helm ls -A | grep -i ingress
helm -n <ingresscontrollernamepspace> get values <helmreleasename>
Current State of the controller:
kubectl describe ingressclasses
kubectl -n <ingresscontrollernamespace> get all -A -o wide
kubectl -n <ingresscontrollernamespace> describe po <ingresscontrollerpodname>
kubectl -n <ingresscontrollernamespace> describe svc <ingresscontrollerservicename>
Current state of ingress object, if applicable:
kubectl -n <appnnamespace> get all,ing -o wide
kubectl -n <appnamespace> describe ing <ingressname>
Others:
kubectl describe ...
of any custom configmap(s) created and in useHow to reproduce this issue:
Anything else we need to know:
The text was updated successfully, but these errors were encountered: