How to prevent Nginx from redirecting to the wrong site when there’s a secure certificate error
https://serverfault.com/a/846214 When multiple sites share the same server and there is no default site set in the server config, Nginx will redirect to the first site in the config, if there’s a secure certificate error. Here’s how to fix that, based on the linked answer above. 1 – Create a default zone As nginx is … How to prevent Nginx from redirecting to the wrong site when there’s a secure certificate error