Closed jeunito closed 7 years ago
I've actually never deployed ldapcherry in fastcgi mode until now, I generally deploy it with a basic reverse http proxy.
But I managed to make it work with the following nginx configuration:
https://github.com/kakwa/ldapcherry/blob/master/goodies/nginx-fastcgi.conf
It's shamelessly copied/pasted from: http://webpy.org/cookbook/fastcgi-nginx
I've included this configuration in the documentation.
Also, just to mention it, you can also launch ldapcherry bound to a unix socket (in fact it's cherrypy that does all the work), but be cautious about the unix socket ownership:
# global parameters
[global]
# listing interface
server.socket_file = '/tmp/ldapcherry.sock'
I used a fresh checkout and I get the following error when trying to run ldapcherry with fastcgi:
Command used:
I used the ldapcherry.ini that came with the checkout but changed the following attributes:
I also changed the templates and static dir attributes to point to the correct place for the Nginx configuration but I don't think that should matter.