nginx reverse proxy proxy_pass weirdness

deeztek nginx-forum at forum.nginx.org
Wed Dec 18 15:33:44 UTC 2019


Sorry maybe I am confusing you. The config file that I posted, works fine.
What I request actually responds. So, if I were to request www.domain.tld,
the Apache server behind Nginx responds with the correct website for
www.domain.tld. However, if I were to delete the config file for domain.tld
from nginx and I tried to browse to that domain again, nginx would forward
the request to another (seemingly random?) website on Apache behind it. 

I would think, deleting a config from Nginx, it would simply stop forwarding
requests for that cofig.

Posted at Nginx Forum: https://forum.nginx.org/read.php?2,286492,286499#msg-286499



More information about the nginx mailing list