The Mono Web can be run in addition to using the Apache/mod_mono mode, but also by using the nginx/fastcgi mode.
The Nginx configuration of ASP. NET is simpler and more useful, can be run through fastcgi asp, PHP, and so on, through the reverse proxy load balancer, you can also run the Python web.
Take Ubuntu as an example
Configure Nginx (/etc/nginx/sites-available/default) to let the site root directory run in fastcgi mode
server { a; /usr/share/nginx/www; Index index.html index.htm; server_name localhost; /var/log/nginx/chat.log; / { /var/www/chat; default default . html; Default . aspx; 127.0.0.1:8099; /etc/nginx/fastcgi_params; }}
Edit/etc/nginx/fastcgi_params
Fastcgi_param path_info ""; Fastcgi_param script_filename $document _root$fastcgi_script_name;
Installing the Fastcgi-mono-server4 module
Apt-get Install Fastcgi-mono-server4
Run fastcgi Mono
fastcgi-mono-server4/applications=/:/var/www/chat//socket=tcp:127.0.0.1:8099
# just via domain visitfastcgi-mono-server4/applications=www.domain.com:/:/var/www/chat//socket=tcp : 127.0.0.1:8099
Note: Applications={url Access address path}:{physical path}, consistent with the above Nginx Config, URL access address can use the domain name. This address configuration error, will be reported exception "No application Found" matching
Nginx Running mono Web (ASP)