libraries and samples to deploy an OCaml application to Nginx server?
| Newsgroups | gmane.comp.lang.ocaml.beginners |
|---|---|
| Message-ID | <[email protected]> |
Hello, I have developed an OCaml application in Linux. Now I would like to deploy it on a Nginx (Digital Ocean) server that I own, so that a JavaScript client side code can call the executable (saved on the server), and deal with the returned results. However, I have no idea how to get started. Someone pointed me to fastcgi, and it seems that there are several libraries of OCaml to handle cgi: ocamlnet, cgi, CamlGI. Could anyone tell me which library is stable and suits my need? Besides, are there some samples for the use of the library and especially the setting on Nginx server? Thank you Tie