nginx is redirecting to wrong server context

2023-11-15 Thread Raman Meenakshisundaram via nginx
Hi I am trying to download a docker image through nginx, and found that it is always redirecting to the first server configured in the nginx.conf file. I am doing a podman pull "podman pull --tls-verify=false mcr.itt.aws.orpd.com.au/devcontainers/python:dev-3.9-buster" but it is wrongly going t

Re: nginx is redirecting to wrong server context

2023-11-15 Thread Jeremy Cocks via nginx
Hello > and found that it is always redirecting to the first server configured in the nginx.conf file. This is expected behaviour when you have not defined a default_server or you are not sending the appropriate host header in your request (you are not confirming how things are set in the http cl