Forum: Ruby on Rails has anyone tried running nginx on their local machine?

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
Ce953bec3af375ddc75e375233112b28?d=identicon&s=25 harper (Guest)
on 2007-01-15 13:47
if so, have you encountered any problems? i'm trying to copy the whole
configuration i have on my server to my local machine, to do some
disasterous tests and such; problem is...i can't really seem to get it
on. some problem.

if i configure nginx for a couple of apps (i.e, copy the whole part that
starts from

server {
listen 80;
server_name localmyapp;
...
...

}

)
how am i supposed to reach it?

http://localmyapp/ doesn't work - it goes straight to the internet to
find the site...how do i configure nginx so i can use it on my own local
machine / localhost ?

ps :>  i'm running it w mongrel_rails cluster::configure -e development
-p 7000 -a 127.0.0.1 and i got a line that goes like

upstream myapp {
server 127.0.0.1:7000
}

so that should catch the app, no?
thx for any pointers etc.

s
This topic is locked and can not be replied to.