I have a small web server that serves requests on port 5010 rather than 80.
I would like to use nginx as a front end proxy to receive requests on port 80 and then let those requests be handle by port 5010.
I have installed nginx successfully and it runs smoothly on Ubuntu Karmic.
But, my attempts to reconfigure the default nginx.conf have not been successful.
I tried including in the server directive the listen argument for port 5010.
I have also tried proxy_pass directive.
Any suggestions on changes that need to be made or directives that need to be set in order to just have port forwarding.