How to use nginx to proxy http request to default port (e.g. 80) to other processes running on different ports on the same server.
Add a config file named “myconfig” under /etc/nginx/sites-available
Link the config file to /etc/nginx/sites-enabled
Restart nginx and you’re all set
See this stackoverflow post for reference.
Post tagged with: nginx