skip to Main Content

Configure nginx vhosts by path

I want to serve my projects by first item in the path, for example http://example.com/projectname should serve a project in /usr/share/nginx/html/projectname. This is what my configurations look like: server { listen 80; server_name example.com www.example.com; rewrite ^/(.*) https://example.com/$1 permanent; }…

VIEW QUESTION

cant create a second ingress controller using helm with custom class in Azure k8s cluster – Nginx

I have created an ingress controller using Helm with default configuration default nginx-ingress-controller LoadBalancer 10.0.182.128 xx.xxx.xx.90 80:32485/TCP,443:31756/TCP 62m default nginx-ingress-default-backend ClusterIP 10.0.12.39 <none> 80/TCP 62m using Helm: helm install nginx-ingress stable/nginx-ingress --set controller.replicaCount=2 --set controller.nodeSelector."beta.kubernetes.io/os"=linux --set defaultBackend.nodeSelector."beta.kubernetes.io/os"=linux --set controller.service.loadBalancerIP="Created static…

VIEW QUESTION
Back To Top
Search