X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=lib%2FCatalyst%2FManual%2FDeployment%2Fnginx%2FFastCGI.pod;h=be18780d5101d5c9aebf9e79cc28470153bf2857;hb=5abded07e91219302e0536d98c9a0d5e5fd58e13;hp=0987b461197787afb6660ed1c42d9f83ac81a7f7;hpb=45b58a85a818703c790e8c09786cc449bad3506c;p=catagits%2FCatalyst-Manual.git diff --git a/lib/Catalyst/Manual/Deployment/nginx/FastCGI.pod b/lib/Catalyst/Manual/Deployment/nginx/FastCGI.pod index 0987b46..be18780 100644 --- a/lib/Catalyst/Manual/Deployment/nginx/FastCGI.pod +++ b/lib/Catalyst/Manual/Deployment/nginx/FastCGI.pod @@ -2,15 +2,15 @@ Catalyst::Manual::Deployment::nginx::FastCGI - Deploying Catalyst with nginx -=head nginx +=head1 nginx Catalyst runs under nginx via FastCGI in a similar fashion as the lighttpd -standalone server as described above. +standalone server. nginx does not have its own internal FastCGI process manager, so you must run the FastCGI service separately. -=head3 Configuration +=head2 Configuration To configure nginx, you must configure the FastCGI parameters and also the socket your FastCGI daemon is listening on. It can be either a TCP socket @@ -52,7 +52,7 @@ It is the standard convention of nginx to include the fastcgi_params in a separate file (usually something like C) and simply include that file. -=head3 Non-root configuration +=head2 Non-root configuration If you properly specify the PATH_INFO and SCRIPT_NAME parameters your application will be accessible at any path. The SCRIPT_NAME variable is the @@ -66,7 +66,7 @@ As an example, if your application is rooted at /myapp, you would configure: C<$fastcgi_script_name> would be "/myapp/path/of/the/action". Catalyst will process this accordingly and setup the application base as expected. -This behavior is somewhat different than Apache and Lighttpd, but is still +This behavior is somewhat different from Apache and lighttpd, but is still functional. For more information on nginx, visit: