I have installed nginx with passenger using home-brew. But its impossible to change the root path of my rails app. Nginx keeps saying: nginx: [emerg] invalid number of arguments in "root" directive in /opt/nginx/conf/nginx.conf:46 the nginx.conf file is:
Can anyone help please ? |
You have a space in the path for your root directive. Try changing this...
... to this ...
answered 19 May '14, 15:00 seanf Almost there ! Now the error at least changed. Now I get the 404 error - Not found. But I checked the path /Users/gabrielmadeira/Google\ Drive/Apps/Rep/public; and there is an index.html, despite I will not use it.
(19 May '14, 16:56)
gmadeira
Ok, try this instead:
(19 May '14, 17:01)
seanf
|
Nope. Same error. I tried with "/Users/gabrielmadeira/Google\ Drive/Apps/Rep/public"; but didn't work either... I can't figure out what is going on. The conf file is like that now:
|
The error has gone with this configuration:
but now the application is not showing my show page.... instead a blank page is shown... answered 19 May '14, 17:43 gmadeira |