Hansee
V2EX  ›  问与答

mono+nginx 无法正常显示页面,反复检查无果

  •  
  •   Hansee · Jun 19, 2014 · 2652 views
    This topic created in 4426 days ago, the information mentioned may be changed or developed.


    配置了以后显示的页面是这样的,弄了一下午但还是无法正常显示ASP页面。

    Nginx.conf里用mono上的文档配置如下:
    server {
    listen 80;
    server_name localhost;
    location / {
    root /data0/web;
    index index.html index.htm;
    fastcgi_index Default.aspx;
    fastcgi_pass 127.0.0.1:9000;
    include fastcgi_params;
    }
    }
    1 replies    2014-06-20 09:43:38 +08:00
    msg7086
        1
    msg7086  
       Jun 20, 2014
    https://gist.github.com/msg7086/db5ce9613dc4b48e1ed1

    看了一下,配置的外观应该是和PHP-FPM一样的。你参考一下?
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   2701 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 33ms · UTC 06:03 · PVG 14:03 · LAX 23:03 · JFK 02:03
    ♥ Do have faith in what you're doing.