[Mono-list] REST service with Fastcgi-mono-server under nginx

dvtrsc dtordera at gmail.com
Fri Aug 5 21:12:28 UTC 2016


Hello All, 

I'm getting some problem with configuration of nginx passing a rest service
(.asmx) to fastcgi-mono-server. I had enabled it to return JSON response,
and it works properly hanging it with xsp4
(http://vps264757.ovh.net:8081/suma.asmx/test returns a correct ping value).
But with nginx (http://vps264757.ovh.net:8080/suma.asmx) just works the main
suma.asmx page, althought I can retrieve wsdl properly from there, but does
not work making pure rest calls (i.e;
http://vps264757.ovh.net:8080/suma.asmx/test does not return nothing). 

I think Nginx it's passing correctly to fastcgi-mono-server all script
references, so I understand that perhaps fastcgi-mono-server does not accept
REST urls. 

Please, anybody can confirm this? 

As well, if anybody can tell me how to log the requests arriving to
fastcgi-mono-server, so this way confirm nginx pass correctly it. 

Here first question related in StackOverflow, althought nowadays I'm pretty
sure nginx pass correctly path_info and script_filename, etc, 

http://stackoverflow.com/questions/38426451/rest-urls-not-found-with-nginx-fastcgi-mono-asmx?noredirect=1#comment64267658_38426451

Thanks in advance,
Best regards, 






--
View this message in context: http://mono.1490590.n4.nabble.com/REST-service-with-Fastcgi-mono-server-under-nginx-tp4668332.html
Sent from the Mono - General mailing list archive at Nabble.com.


More information about the Mono-list mailing list