<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array">
    <added>
      <filename>doc/Users guide Apache.html</filename>
    </added>
    <added>
      <filename>doc/Users guide Nginx.txt</filename>
    </added>
  </added>
  <modified type="array">
    <modified>
      <diff>@@ -1,4 +1,6 @@
 Please read the file README for installation instructions.
 
 If you're having trouble installing Phusion Passenger, please
-read the file 'doc/Users guide.html'.
+read the file 'doc/Users guide Apache.html' or 'doc/Users guide Nginx.html',
+depending on whether you want to install Phusion Passenger for Apache or for
+Nginx.</diff>
      <filename>INSTALL</filename>
    </modified>
    <modified>
      <diff>@@ -7,15 +7,22 @@ to http://www.modrails.com/ for general information.
 
 === Regular installation
 
-Run the following script as root:
+You can install either Phusion Passenger for Apache or for Nginx. Run either of
+the following programs as root:
 
  ./bin/passenger-install-apache2-module
 
+-OR-
+
+ ./bin/passenger-install-nginx-module
+
 That's it. :)
 
-For troubleshooting, configuration and tips, please read the Users Guide:
+For troubleshooting, configuration and tips, please read the corresponding
+Users Guide:
 
- doc/Users guide.html
+ doc/Users guide Apache.html
+ doc/Users guide Nginx.html
 
 This file is included in the source tarball, and may also be viewed online on
 our website.</diff>
      <filename>README</filename>
    </modified>
    <modified>
      <diff>@@ -548,7 +548,7 @@ subdir 'doc' do
 	ASCIIDOC = 'asciidoc'
 	ASCIIDOC_FLAGS = &quot;-a toc -a numbered -a toclevels=3 -a icons&quot;
 	ASCII_DOCS = ['Security of user switching support', 'Users guide',
-		'Architectural overview']
+		'Users guide Nginx', 'Architectural overview']
 
 	DOXYGEN = 'doxygen'
 	
@@ -640,7 +640,8 @@ spec = Gem::Specification.new do |s|
 		# If you're running 'rake package' for the first time, then these
 		# files don't exist yet, and so won't be matched by the above glob.
 		# So we add these filenames manually.
-		'doc/Users guide.html',
+		'doc/Users guide Apache.html',
+		'doc/Users guide Nginx.html',
 		'doc/Security of user switching support.html',
 		
 		'doc/*/*',</diff>
      <filename>Rakefile</filename>
    </modified>
    <modified>
      <diff>@@ -69,6 +69,10 @@ class Installer &lt; PhusionPassenger::AbstractInstaller
 		return result
 	end
 	
+	def users_guide
+		return &quot;#{DOCDIR}/Users guide Apache.html&quot;
+	end
+	
 	def install!
 		if PhusionPassenger.natively_packaged?
 			check_dependencies || exit(1)
@@ -177,7 +181,7 @@ private
 		puts
 		line
 		render_template 'apache2/deployment_example',
-			:users_guide =&gt; USERS_GUIDE,
+			:users_guide =&gt; users_guide,
 			:phusion_website =&gt; PHUSION_WEBSITE,
 			:passenger_website =&gt; PASSENGER_WEBSITE
 	end
@@ -185,7 +189,7 @@ private
 	def show_possible_solutions_for_compilation_and_installation_problems
 		new_screen
 		render_template 'apache2/possible_solutions_for_compilation_and_installation_problems',
-			:users_guide =&gt; USERS_GUIDE,
+			:users_guide =&gt; users_guide,
 			:passenger_website =&gt; PASSENGER_WEBSITE
 	end
 end</diff>
      <filename>bin/passenger-install-apache2-module</filename>
    </modified>
    <modified>
      <diff>@@ -30,6 +30,10 @@ class Installer &lt; PhusionPassenger::AbstractInstaller
 		]
 	end
 	
+	def users_guide
+		return &quot;#{DOCDIR}/Users guide Nginx.html&quot;
+	end
+	
 	def install!
 		Dir.chdir(PASSENGER_ROOT)
 		show_welcome_screen
@@ -320,7 +324,7 @@ private
 		line
 		puts
 		render_template 'nginx/deployment_example',
-			:users_guide =&gt; USERS_GUIDE,
+			:users_guide =&gt; users_guide,
 			:phusion_website =&gt; PHUSION_WEBSITE,
 			:passenger_website =&gt; PASSENGER_WEBSITE
 	end
@@ -329,7 +333,7 @@ private
 		line
 		puts
 		render_template 'nginx/possible_solutions_for_compilation_and_installation_problems',
-			:users_guide =&gt; USERS_GUIDE,
+			:users_guide =&gt; users_guide,
 			:passenger_website =&gt; PASSENGER_WEBSITE
 	end
 	</diff>
      <filename>bin/passenger-install-nginx-module</filename>
    </modified>
    <modified>
      <diff>@@ -32,7 +32,6 @@ module PhusionPassenger
 class AbstractInstaller
 	PASSENGER_WEBSITE = &quot;http://www.modrails.com/&quot;
 	PHUSION_WEBSITE = &quot;www.phusion.nl&quot;
-	USERS_GUIDE = &quot;#{DOCDIR}/Users guide.html&quot;
 
 	def initialize(options = {})
 		options.each_pair do |key, value|
@@ -172,7 +171,7 @@ private
 			color_puts &quot;If the aforementioned instructions didn't solve your problem, then please take&quot;
 			color_puts &quot;a look at the Users Guide:&quot;
 			puts
-			color_puts &quot;  &lt;yellow&gt;#{USERS_GUIDE}&lt;/yellow&gt;&quot;
+			color_puts &quot;  &lt;yellow&gt;#{users_guide}&lt;/yellow&gt;&quot;
 			return false
 		end
 	end</diff>
      <filename>lib/phusion_passenger/abstract_installer.rb</filename>
    </modified>
  </modified>
  <removed type="array">
    <removed>
      <filename>doc/Users guide.txt</filename>
    </removed>
  </removed>
  <parents type="array">
    <parent>
      <id>7f05cf0c991f06c57c8991541885ba315811fd94</id>
    </parent>
  </parents>
  <author>
    <name>Hongli Lai (Phusion)</name>
    <email>hongli@phusion.nl</email>
  </author>
  <url>http://github.com/FooBarWidget/passenger/commit/85846ccdf3f89ecabba99104bd4743e2385d5fd8</url>
  <id>85846ccdf3f89ecabba99104bd4743e2385d5fd8</id>
  <committed-date>2009-03-10T04:57:13-07:00</committed-date>
  <authored-date>2009-03-10T04:57:13-07:00</authored-date>
  <message>Begin writing Nginx documentation.</message>
  <tree>38cc81b16f329c2c470bfdd53f9250046f807849</tree>
  <committer>
    <name>Hongli Lai (Phusion)</name>
    <email>hongli@phusion.nl</email>
  </committer>
</commit>
