webservices don't work with mono and nginx

View: New views
1 Messages — Rating Filter:   Alert me  

webservices don't work with mono and nginx

by rytter :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi.

I've been using Lighttpd with Mono FastCGI and want to switch to Nginx. Nginx has been set up and it works fine except with webservices..

with Lighttpd I get a Javascript code on this address: http://freepages.dk:81/Services/Traduction.asmx/jsdebug .. with nginx I get a 404..

here is my configuration:

  location ~ \.(aspx|asmx|ashx|asax|ascx|soap|rem|axd|cs|config|dll)(.*)$ {
proxy_read_timeout 999;
        proxy_connect_timeout 999;
            fastcgi_pass   unix:/tmp/monofst_youtube.socket;
            fastcgi_param  SCRIPT_FILENAME  /var/www/youtube$fastcgi_script_name;
            include        fastcgi_params;
        }


just tell me if you need more information

 - thanks