FastCGI in various servers
Antonio
potxoka at gmail.com
Fri Dec 17 10:51:37 MSK 2010
El 15/12/10 23:34, Benjamin Pineau escribió:
> Hi,
>
> On 15/12/2010 22:00, Antonio wrote:
>> I have a question about fastcgi. If I use 5 web server with fastcgi, with a script that works with session variables, if
>> it balances the request to another different server. How to access the session variables? As will be stored in another
>> /tmp/SESSION_XXX (other machine).
> You have either to store your sessions on a common shared
> backend (moderns web scripting languages allows storing
> sessions in memcached or database, but you can also use NFS
> for instance, ..), or just reduce the odd to loose the
> sessions (for instance by using the ip_hash option for the
> upstream backend, so clients will stick to the same server
> unless nginx detects this servers isn't available anymore).
>
>> I can use in nginx fastcgi servers located on another machine, some configuration examples?. Thanks.
> Maybe there ?
> http://wiki.nginx.org/HttpUpstreamModule
> http://wiki.nginx.org/HttpFcgiModule
> http://wiki.nginx.org/FcgiExample
>
Hi
Thanks !
Regards
More information about the nginx
mailing list