mogilefs module 1.0.4

Valery Kholodkov valery+nginxen at grid.net.ru
Thu Sep 2 22:45:54 MSD 2010


Greetings!

nginx mogilefs module 1.0.4 is available for testing.

Changes in version 1.0.4:
  * Added feature: multiple $mogilefs_path variables
  * Fixed bug: segfault on reconfiguration due to uninitialized class 
template (thanks to Pyry Hakulinen)

Please note that the new feature allows failover locations:

location /download/ {

     [...]

     mogilefs_pass {
         proxy_pass $mogilefs_path;
         proxy_buffering off;
         error_page 502 503 504 = @failover1;
     }
}

location @failover1 {
     proxy_pass $mogilefs_path1;
     proxy_buffering off;
     error_page 502 503 504 = @failover2;
}

location @failover2 {
     proxy_pass $mogilefs_path2;
     proxy_buffering off;
}

and so on. However using more than 2 failover locations is not recommended.

See this page for details:
http://www.grid.net.ru/nginx/mogilefs.en.html

-- 
Best regards,
Valery Kholodkov



More information about the nginx mailing list