Displaying 2 results from an estimated 2 matches for "passenger_base_uri".
2011 Feb 08
2
Rails + WordPress.org + Nginx = HELP
Running a rails app with Nginx and trying to add wordpress.org in as
either a subdomain or subdirectory with same URL.
Is this possible? Would running Rails and WP on different servers
help?
Found plenty of documentation with Apache, but Nginx lacking.
Thanks!
--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this
2013 Mar 14
1
Ubuntu 12.10 Nginx Rails 3.2.13. Deploy in sub URI. Nothing happens!
...4;
http {
passenger_root
/home/luis/.rvm/gems/ruby-1.9.3-p392/gems/passenger-3.0.19;
passenger_ruby /home/luis/.rvm/wrappers/ruby-1.9.3-p392/ruby;
server {
listen 80;
server_name domain.com;
root /home/lacy/public_html;
passenger_enabled on;
passenger_base_uri /myapp1;
location / {
root html;
index index.html index.htm; }
error_page 500 502 503 504 /50x.html;
location = /50x.html {
root html; }
}
Here is my deploy.rb:
require "bundler/capistrano"
require "rvm/capistrano"...