Welcome! Log In Create A New Profile

Advanced

Re: var/www

Paul Jessup
December 29, 2009 07:20PM
Rob Schultz wrote:
> What's your config look like? And did you flush the browsers cache?

Hello Rob,

in between posting the question and your lightening reply, I found the
problem - nginx put the files into a sub-folder of var/www, so I just
moved them - need an embarrassed emoicon here... :)

However, I have tried to get a local rails app working (it does on
web-brick), but without success - can't get a reply on
localhost/testdir/testrhtml say. Could you please tell me if this looks
right in the conf file?

server {
listen 80;
server_name localhost;
root /home/me/sites/my_app/public; # <--- be sure to point to
'public'!
passenger_enabled on;
}

Kind regards
--
Posted via http://www.ruby-forum.com/.

_______________________________________________
nginx mailing list
nginx@nginx.org
http://nginx.org/mailman/listinfo/nginx
Subject Author Posted

var/www

Paul Jessup December 29, 2009 07:06PM

Re: var/www

Rob Schultz December 29, 2009 07:08PM

Re: var/www

Paul Jessup December 29, 2009 07:20PM

Re: var/www

Rob Schultz December 29, 2009 07:36PM

Re: var/www

Paul Jessup December 30, 2009 04:46AM

Re: var/www

Rob Schultz December 31, 2009 06:36PM

Re: var/www

Paul Jessup January 01, 2010 11:42AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 120
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready