Skip to content

tonyozr/HyperFastCgi

Repository files navigation

Flattr this git repo

HyperFastCgi

HyperFastCgi hosts mono web applications with nginx. It's a primary replacement of mono-server-fastcgi for linux platform.

Key features:

Latest stable version https://github.com/xplicit/HyperFastCgi/tree/v0.3_stable

Installation

Download the source and perform commands:

./autogen.sh --prefix=/usr
 make
 sudo make install

Run

hyperfastcgi4 /config=<configfile> [arguments]

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;

Config file parameters

To be documented

Nginx configuration

See the wiki page for examples of how to configure Nginx

Additional Info

For more information read the blog http://forcedtoadmin.blogspot.com

About

Performant nginx to mono fastcgi server

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published