HyperFastCgi hosts mono web applications with nginx. It's a primary replacement of mono-server-fastcgi for linux platform.
Key features:
- Does not leak memory
- Serves requests much faster. See performance comparison
Latest stable version https://github.com/xplicit/HyperFastCgi/tree/v0.3_stable
Download the source and perform commands:
./autogen.sh --prefix=/usr
make
sudo make install
hyperfastcgi4 /config=<configfile> [arguments]
/config=<configfile>
Path to configuration file, which holds general settings like listener configuration (Managed or Native, their protocol, address and port), Application Host configuration (AspNet or Custom). The samples of config files can be found in./samples
directory. This option is required and was introduced in HyperFastCgi v0.4
Most of the arguments are the same as in mono-server-fastcgi. Some additional arguments were added
-
/minthreads=[nw,nio]
Sets the minimum number of threads in threadpool. nw - number of working threads. nio - number of IO threads -
/maxthreads=[nw,nio]
Sets the maximum number of threads in threadpool. nw - number of working threads. nio - number of IO threads -
/addtrailingslash=[true|false]
Adds trailing slash if path to directory does not end with '/'. Default is 'false'. This option were added for compatibility with mono-fastcgi-server. For performance reasons it's recommended to use nginx 'rewrite' command instead, i. e. rewrite ^([^.]*[^/])$ $1/ permanent;
To be documented
See the wiki page for examples of how to configure Nginx
For more information read the blog http://forcedtoadmin.blogspot.com