|
I need to setup test environment for rails application in nginx. It could be done in two ways 1. open a port 8000 and run the application on this 2. setup subdomain for test environment. I tried first way by adding this line in nginx.conf server { listen 5000; server_name test.mydomain.com; root /home/brcweb/webapps/passenger/project/mydomain/public; passenger_enabled on; } but it doesn't work. I need help to setup my test environment. |
|
You need to assign a port using a 'custom app listening on port' application or use an SSH tunnel to directly connect. |