Re: [gitorious] Re: Gitorious Login page is not working
On Tue, Jul 12, 2011 at 9:53 AM, prabhu kumar k v 2.0.1.1 prabhukumar...@gmail.com wrote: Thank you Marius, We are using Phusion Passenger to load nginx and Gitorious Ruby application, which automatically loads application with port number 3000. Ah, okay. I suppose this means you're running Passenger embedded, ie `passenger start`? Although you can specify which port to run this on (`passenger start -p port`), in a production setup you'll usually run Passenger from Nginx as a module. This means installing Nginx in the usual way (apt/yum/source) and then installing the Passenger module into your Nginx server (`passenger-install-nginx-module). I don't know if the embedded Nginx server in Passenger supports SSL, it's really intended for development. Cheers, - Marius -- To post to this group, send email to gitorious@googlegroups.com To unsubscribe from this group, send email to gitorious+unsubscr...@googlegroups.com
Re: [gitorious] Re: Gitorious Login page is not working
On Tue, Jul 12, 2011 at 10:53 AM, prabhu kumar k v 2.0.1.1 prabhukumar...@gmail.com wrote: Yes, exactly. We are using $passenger start -e production to start nginx, where nginx is loaded as a module. But i don't know how to make passenger to give up port 3000! The -p option is allowed only for root user or we can use (as root) #rvmsudo passenger start -p 80 --user=gituser But still pages that require SSL connection from gitorious are not working. As I said you really should install Nginx first (try apt-get install nginx on Debian-based systems or yum install nginx on Redhat/Fedora-based systems) and then install Passenger into that (passenger-install-nginx-module). Even if you manage to start Nginx/passenger as the root user (which you shouldn't) on port 80, SSL should run on port 443. So you need Nginx to run on two ports: 80 for HTTP and 443 for SSL. - Marius -- To post to this group, send email to gitorious@googlegroups.com To unsubscribe from this group, send email to gitorious+unsubscr...@googlegroups.com