Nginx + Passenger
Hello i have one question.. i can succesfully install webserver with multiple vhost rails applications but now i want add passenger support to existed nginx server (which is configured via ISPConfig).. the problem is that if i let passenger to download and compile nginx passenger-install-nginx-module
it have configuration files in /opt/nginx but ISPConfig is using /etc/nginx, passenger is asking where nginx have to be installed but i dont know what to type for /etc/nginx configuration path. Another way im thinking is let apt-get install nginx but in that case i dont know how to add passenger.. i read about nginx-full but that download few bytes to my linux and does not work and from debian wiki https://wiki.debian.org/Nginx it does not contain passenger module anyway.. im using Ubuntu, what can i do ? :-)
Run 'nginx -V', that will tell you what configure arguments were used to compile your distribution's Nginx. Pass those same arguments to passenger-install-nginx-module.
when i'm install passenger installer ask me where put nginx (default /opt/nginx/). try reinstall passenger-install-nginx-module and read what installer write.
Since you already have Nginx there is no need to install anything but passenger stand-alone. You can just proxy all requests to this site's rails code to the passenger stand-alone instance using a vhost in your existing nginx installation. Here is a good place to start:
https://www.phusionpassenger.com/library/deploy/standalone/reverse_proxy.html
链接地址: http://www.djcxy.com/p/95180.html上一篇: 用完整的webdav支持构建nginx(nginx
下一篇: Nginx + Passenger