From Resin 3.0

Jump to: navigation, search
40px-Edit-clear.png This article requires cleanup and may refer to a legacy version of Resin.

Please visit for the most up-to-date documentation.

When you have a backend server like Ruby or PHP which has a FastCGI connection, you can use the <resin:FastCgiProxy> dispatch tag to dispatch to that backend.

Since Resin's FastCgiProxy uses load balancing automatically, you can balance the load across multiple servers.

  • serves HTTP from port 80
  • changes user to "resin" from root
  • enables proxy caching
  • FastCgiProxy load balances to and

FastCgiProxy dispatch in resin.xml

The FastCgiProxy is part of Resin's rewrite-dispatch capability.

 <resin xmlns="">

   <log-handler name="" level="all" path="stdout:"
                timestamp="[%y-%m-%d %H:%M:%S.%s] {%{thread}} "/>

   <cluster id="">
     <resin:import path="${__DIR__}/app-default.xml"/>

     <server id="">
       <http port="80"/>


     <host id="">
       <web-app id="">



Personal tools