Hello Lee,

thanks for your hint. Please have a look at:

https://gist.github.com/Makru/5575568 

This is my nginx.conf file, named blog.conf which is stored under 

/etc/nginx/conf.d/blog.conf  on the production server. Is there something 
missing?

I am wondering about line 7 as comment: 

  # server_name example.com;

Something else missing or wrong?

Regards
Mathias


Am Dienstag, 14. Mai 2013 13:25:21 UTC+2 schrieb Makru:
>
> Hello,
>
> i am new to all related Ruby and Ruby on Rails and just started some weeks 
> ago learning with tutorials and books.
>
> Following one capistrano deployment tutorial, everything looks fine but 
> the RoR application is not running.
>
> CAP DEPLOY works according the Windows cmd-window but opening the webpage 
> via a browser results in the:
>
> *Welcome aboard You’re riding Ruby on Rails!* 
>
> -window, which is ok but if i go to the application, i get a *404 error*from 
> nginx. 
>
>
> I checked that Unicorn and NGINX are running on the Debian server. A 
> restart does not help.
>
> My enviroment : 
>
>    - Development Windows 7
>    - Production Debian 6 with nginx and Unicorn
>    - Ruby and Rails newest via RVM on Debian and Railsinstaller on Windows
>    - Deployment using capistrano & github & SSH
>    
> Because i can not see a error during deployment i would be interested to 
> know how to troubleshoot?
>
> Many thanks in advance.
>
> Best Regards
>
> Mathias
>
>
>
>

-- 
-- 
* You received this message because you are subscribed to the Google Groups 
"Capistrano" group.
* To post to this group, send email to [email protected]
* To unsubscribe from this group, send email to 
[email protected] For more options, visit this group at 
http://groups.google.com/group/capistrano?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Capistrano" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to