Skip to content

Commit

Permalink
nginx: update Passenger caveats.
Browse files Browse the repository at this point in the history
They now explicitly mention the fact that passenger_root and passenger_ruby
must be specified in the 'http' context. See
http://stackoverflow.com/questions/24220300/configuring-passenger-with-ngenix
for a user who didn't get this and did it wrong.

Closes Homebrew#30155.

Signed-off-by: Jack Nagel <[email protected]>
  • Loading branch information
FooBarWidget authored and jacknagel committed Jun 14, 2014
1 parent 2d081ca commit 7aac44a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Library/Formula/nginx.rb
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ def post_install

def passenger_caveats; <<-EOS.undent
To activate Phusion Passenger, add this to #{etc}/nginx/nginx.conf:
To activate Phusion Passenger, add this to #{etc}/nginx/nginx.conf, inside the 'http' context:
passenger_root #{HOMEBREW_PREFIX}/opt/passenger/libexec/lib/phusion_passenger/locations.ini
passenger_ruby /usr/bin/ruby
EOS
Expand Down

0 comments on commit 7aac44a

Please sign in to comment.