在Windows系统中用nginx与mono搭建asp.net运行环境

piaoxue888 2022-12-2 477

下载mono:

http://www.go-mono.com/mono-downloads/download.html

fastcgi-mono-server2 /socket=tcp:127.0.0.1:8282 /root="C:\nginx\html\aspnetwww" /applications=/:. /multiplex=True


下载nginx:

http://nginx.org/

   location / {
          root   C:/nginx/html/aspnetwww;
          fastcgi_pass   127.0.0.1:8282;
          fastcgi_param  SCRIPT_FILENAME  $document_root/$fastcgi_script_name;
          include       fastcgi_params;
       }
最新回复 (4)
  • piaoxue888 2022-12-3
    引用 2
    https://www.lmlphp.com/user/58022/article/item/874552/
  • piaoxue888 2022-12-3
    引用 3
    输入mono中的fastcgi-mono-server命令,可以使用两种方式:fastcgi-mono-server2和fastcgi-mono-server4,其中前者对应CLR2.0运行时宿主,后者对应CLR4.0运行时宿主:
    fastcgi-mono-server2 /applications=/:. /socket=tcp:127.0.0.1:9000 /port=8000 /root="F:\nginx-1.1.16\Web"
  • piaoxue888 2022-12-3
    引用 4
    https://www.mono-project.com/docs/getting-started/mono-basics/
  • piaoxue888 2022-12-3
    引用 5
    https://www.mono-project.com/docs/web/fastcgi/#how-applications-are-handled-and-how-to-configure-them
返回
发新帖