I'm not familiar with any of this proxy stuff.
I can't seem to find a solution to this issue. Right now when I type ex.domain.com it redirects to the IP address 192.168.1.202. How do I get it to visit that address but keep ex.domain.com.
I have port forwarding setup for nginx and if i remove "proxy_pass" it shows the nginx page with the domain url. which is what I want.
For server_name localhost doesn't seem to make a difference.
I've tried adding
proxy_redirect
proxy_set_header
For reference this is what I did step by step for initial setup Youtube Video