Category : nginx

I deployed a Nginx server and a Unity service on internal IP 172.20.210.87(Windows Server 2012), which is mapped to the public IP. The Nginx configuration is below: server { listen 80; … location ^~/cloud/ { proxy_set_header Host $host; proxy_set_header X-Real-IP $remote_addr; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; proxy_set_header X-NginX-Proxy true; proxy_redirect http:// https://; rewrite ^/cloud/(.*)$ /$1 break; proxy_pass ..

Read more

I am trying to make this basic example work on docker desktop on windows, I am not using minikube: https://kubernetes.github.io/ingress-nginx/deploy/ I managed to reach the service using NodePort with: http://localhost:31429 But when I try "http://hello-world.info" (made sure to add it in hosts) 404 not found. kubectl get svc –all-namespaces NAMESPACE NAME TYPE CLUSTER-IP EXTERNAL-IP PORT(S) ..

Read more