I thought the nginx proxy was http and https only. I don't see why it's important that you're using nat, why not just use iptables to point to the desired server in your internal network?
I only have a single static, and I'm not sure how to route traffic based on header name using iptables. Also wouldn't that basically make SSL impossible? I was going to use a wildcard ssl cert on the reverse proxy to accomplish ssl
For https I would live with having the testing server on a different port, and since it's for testing it doesn't even matter if the cert is self-signed but you could probably still do the wildcard cert if you wanted.
Yeah I'm doing this one to make sure I can,nginx reverse proxy is pretty integral to how poal functions so I want to really understand and have experience with them.
(post is archived)