因為要在linux上安裝mono來跑asp.net
但是按照mono的官方說明啟動mono後
執行該頁面卻出現以下錯誤:
Server Error in '/' Application
以下是nginx.conf的設定
server {
listen 80;
server_name dlinfo.tw;
access_log /var/log/nginx/dlinfo.tw.access.log;
location / {
root /home/html;
index index.html index.htm default.aspx Default.aspx;
fastcgi_index Default.aspx;
fastcgi_pass 127.0.0.1:9000;
include /etc/nginx/fastcgi_params;
}
}