2015-07-20 01:46:40 +02:00
|
|
|
Some Goodies
|
|
|
|
============
|
|
|
|
|
|
|
|
Here are some goodies that might help deploying LdapCherry
|
|
|
|
|
2015-07-21 00:33:05 +02:00
|
|
|
They are located in the **goodies/** directory.
|
|
|
|
|
2015-07-20 01:44:26 +02:00
|
|
|
Init Script
|
|
|
|
-----------
|
|
|
|
|
|
|
|
Sample init script for Debian:
|
|
|
|
|
|
|
|
.. literalinclude:: ../goodies/init-debian
|
2015-07-21 00:33:05 +02:00
|
|
|
:language: bash
|
2015-07-20 01:44:26 +02:00
|
|
|
|
|
|
|
This init script is available in **goodies/init-debian**.
|
|
|
|
|
|
|
|
Apache Vhost
|
|
|
|
------------
|
|
|
|
|
2017-06-09 23:40:23 +02:00
|
|
|
Basic Apache Vhost:
|
|
|
|
|
2015-07-20 10:36:58 +02:00
|
|
|
.. literalinclude:: ../goodies/apache.conf
|
2015-07-21 00:33:05 +02:00
|
|
|
:language: xml
|
2015-07-20 01:44:26 +02:00
|
|
|
|
|
|
|
Nginx Vhost
|
|
|
|
-----------
|
|
|
|
|
2017-06-09 23:40:23 +02:00
|
|
|
Basic Nginx Vhost:
|
|
|
|
|
2015-07-20 10:36:58 +02:00
|
|
|
.. literalinclude:: ../goodies/nginx.conf
|
2015-07-21 00:33:05 +02:00
|
|
|
:language: yaml
|
2015-07-20 01:44:26 +02:00
|
|
|
|
2017-06-09 23:25:58 +02:00
|
|
|
Nginx Vhost (FastCGI)
|
|
|
|
---------------------
|
|
|
|
|
2017-06-09 23:40:23 +02:00
|
|
|
Nginx Vhost in FastCGI mode:
|
|
|
|
|
2017-06-09 23:25:58 +02:00
|
|
|
.. literalinclude:: ../goodies/nginx-fastcgi.conf
|
|
|
|
:language: yaml
|
|
|
|
|
2017-06-09 23:40:23 +02:00
|
|
|
.. warning::
|
|
|
|
|
|
|
|
LdapCherry requires the python flup module to run in FastCGI
|
|
|
|
|
2015-07-20 01:44:26 +02:00
|
|
|
Lighttpd Vhost
|
|
|
|
--------------
|
|
|
|
|
2017-06-09 23:40:23 +02:00
|
|
|
Basic Lighttpd Vhost
|
|
|
|
|
2015-07-20 10:36:58 +02:00
|
|
|
.. literalinclude:: ../goodies/lighttpd.conf
|
2015-07-21 00:33:05 +02:00
|
|
|
:language: yaml
|