How to make proxy on nginx?
- by Adrian K.
How would I set my webservers to work in way described below?
Http request: mypublic.com --- handled normally by nginx as it is set up already (listen 80;)
Http request: myprivate.com --- handled by apache set up to work on 8080 (listen 8080)
I'd like to avoid including ports when typing address in browser, some kind of mockup (proxy?). Both of domains are pointing to my machine and set up by named.