login community faq

Hi,

I just ftp'd an app I've been working on up into my webapps/app-name directory. However the website is still using the default 'hello_world' rails app in that directory (which was created from the control panel). I cannot work out how to get nginx to use the app I uploaded rather than the 'hello_world' default. If I delete hello_world and point nginx/conf/nginx.conf server root to my new app I still get 404's. If I simply rename my app hello_world I get the error: 'Ruby (Rack) application could not be started'

Any help would be greatly appreciated!

Cheers, Mike

asked Jul 09 '12 at 17:14

Michael%20Spelling's gravatar image

Michael Spelling
1


Pointing nginx.conf to the new application is the correct method. If you can edit your question and include how you are doing the configuration, we may be able to locate the issue.

answered Jul 10 '12 at 00:05

ryans's gravatar image

ryans ♦♦
28411420

Found the answer - run command './bin/restart' once nginx.conf settings are changed in order for them to take effect!

answered Jul 10 '12 at 07:26

Michael%20Spelling's gravatar image

Michael Spelling
1

Your answer
If you have an answer to the above question, then use the form below. Otherwise, use the appropriate 'add new comment' button above to post your feedback.
toggle preview

Plans & prices    Sign up    Why WebFaction?    Contact us    Affiliate program    Support    Legal    Jobs    Blog    Control panel login
Powered by OSQA
© Copyright 2003-2012 Swarma Limited - WebFaction is a service of Swarma Limited